CN-121996313-A - Image loading method, system, electronic device and storage medium
Abstract
The embodiment of the application provides an image loading method, an image loading system, electronic equipment and a storage medium. In some embodiments, the image loading method comprises the steps of responding to image information in the interest point data to indicate that the access type of an image to be displayed is a first appointed type, sending an image analysis request to a host background according to the access address information of the image in the image information, wherein the image analysis request comprises the access address information of the image, and receiving and displaying the image data of the image fed back by the host background.
Inventors
- MA KE
- LI CHENG
Assignees
- 博泰车联网(南京)有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20241106
Claims (10)
- 1. An image loading method, comprising: Responding to the image information in the interest point data to indicate that the access type of the image to be displayed is a first appointed type, and sending an image analysis request to a host background according to the access address information of the image in the image information, wherein the image analysis request comprises the access address information of the image; and receiving and displaying the image data of the image fed back by the host background.
- 2. The method of claim 1, wherein the image information further includes domain name information of the host background, and the sending an image resolution request to the host background according to access address information of the image in the image information includes: generating the image analysis request according to the access address information of the image; And sending the image analysis request to the background of the host based on the domain name information of the background of the host.
- 3. The method of claim 2, wherein the access address information of the image and the domain name information of the host background are combined according to a preset format to form combined access address information of the image, and the combined access address information of the image is written into the image information of the point of interest data.
- 4. The method of claim 1, wherein the sending an image resolution request to a host background according to access address information of the image in the image information comprises: generating the image analysis request according to the access address information of the image; and sending the image analysis request to the host background based on preset domain name information of the host background.
- 5. The method according to any one of claims 1 to 4, wherein the method is applied to a host, a configuration file of the host stores a domain name white list, the image information responding to the point of interest data indicates that an access type of an image to be displayed is a first designated type, and sending an image resolution request to a host background according to access address information of the image in the image information includes: And responding to the image information indicating that the access type of the image to be displayed is a first appointed type, wherein the domain name carried by the access address information is positioned in the domain name white list, and sending the image analysis request to the host background according to the access address information of the image in the interest point data.
- 6. The method of any one of claims 1 to 4, further comprising: Responding to the image information to indicate that the access type of the image to be displayed is a second designated type, and requesting image data of the image from a background of a manufacturer according to the access address information of the image in the image information; receiving and displaying image data of the image fed back by the merchant background; wherein the first specified type is a hypertext transfer security protocol (HTTPS) type and the second specified type is a hypertext transfer protocol (HTTP) type.
- 7. The method of any one of claims 1 to 4, further comprising: In response to detecting the interest point searching instruction, sending an interest point data acquisition request to a host background; And receiving interest point data fed back by the host background, wherein the interest point data comprises position information of the interest point and the image information.
- 8. An image loading system, comprising: The host is configured to respond to the fact that the image information in the interest point data indicates that the access type of the image to be displayed is a first appointed type, and an image analysis request is sent according to the access address information of the image in the image information, wherein the image analysis request comprises the access address information of the image; the host background is configured to respond to the received image analysis request, initiate an image data acquisition request based on the access address information of the image in the image analysis request, and send the image data of the image fed back by the image quotient background to the host; A vendor background configured to send image data of the image to the host background in response to receiving the image data acquisition request; The host receives and displays the image data of the image fed back by the background of the host.
- 9. An electronic device, comprising: At least one processor, and A memory communicatively coupled to the at least one processor, wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the image loading method of any one of claims 1-7.
- 10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the image loading method according to any one of claims 1 to 7.
Description
Image loading method, system, electronic device and storage medium Technical Field Embodiments of the present application relate to the field of data processing, and more particularly, to an image loading method, an image loading system, an electronic device, and a storage medium. Background With the increasing development of technology, the functions of map searching, navigation and the like are more and more perfect, and the use is more and more common. In the course of using the functions of map search, navigation, etc., it may be necessary to acquire detailed information of points of interest (or referred to as map points). The detailed information of the interest point may include some pictures of the interest point, for example, pictures of food in the food interest point, pictures of the environment of the interest point, etc. In order to improve security, pictures of many points of interest employ encryption or authentication mechanisms, which add difficulty to the loading and displaying of such pictures by the terminal. Disclosure of Invention Embodiments of the present application provide an image loading method, system, electronic device, and storage medium that may at least partially solve the above-mentioned problems, or other problems, in the prior art. The embodiment of the application provides an image loading method, which comprises the steps of responding to image information in interest point data to indicate that the access type of an image to be displayed is a first appointed type, sending an image analysis request to a host background according to the access address information of the image in the image information, wherein the image analysis request comprises the access address information of the image, and receiving and displaying the image data of the image fed back by the host background. Another aspect of the embodiments of the present application provides an image loading system, including a host, a host background, and a vendor background. The host may be configured to send an image analysis request according to the access address information of the image in the image information in response to the image information in the interest point data indicating that the access type of the image to be presented is the first designated type, where the image analysis request includes the access address information of the image. The host background may be configured to initiate an image data acquisition request based on access address information of an image in the image resolution request in response to receiving the image resolution request, and to send image data of the image fed back by the vendor background to the host. The vendor background may be configured to send image data of an image to the host background in response to receiving the image data acquisition request, wherein the host receives and exposes the image data of the image fed back by the host background. Another aspect of an embodiment of the application provides an electronic device comprising at least one processor and a memory. Wherein the memory is communicatively coupled to the at least one processor and stores instructions executable by the at least one processor to enable the at least one processor to perform the image loading method as described in the above embodiments. Another aspect of the embodiments of the present application provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements an image loading method as mentioned in the above embodiments. According to some embodiments of the present application, after determining that the image information in the point of interest data indicates that the access type of the image to be displayed is the first specified type, the execution subject sends an image analysis request to the host background according to the access address information of the image in the image information. The image analysis request can comprise the access address information of the image, so that the host background can verify with the image merchant background based on the access address information of the image, and acquire the image data of the image. This makes it unnecessary for the executing body to store too many certificates for image information (e.g., image domain names) of various data sources in various formats, and only needs to pay attention to the service itself, thereby reducing the situation of image display failure caused by resolution failure. In some embodiments of the application, the image information further comprises domain name information of a host background, and the sending of the image analysis request to the host background according to the access address information of the image in the image information comprises the steps of generating the image analysis request according to the access address information of the image and sending the image analysis request to the host background based on the domain name