An image transmission method, an electronic terminal and a computer readable storage medium
Patent Information
- Application Number
- CN202510378900.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-27
- Publication Date
- 2026-10-23
- Estimated Expiration
- 2045-03-27
AI Technical Summary
[0004]本发明主要解决的技术问题是提供一种图像传输方法、电子终端及计算机可读存储介质,解决现有技术中图像传输的速度慢的问题
[0010]本发明的有益效果是:区别于现有技术的情况,提供的所述图像传输方法包括:接收图像传输信息,所述图像传输信息为客户端发出的,包括用于请求所述服务平台端传输待传输图像的请求信息,以及所述待传输图像的历史特征信息;基于所述请求信息确定所述待传输图像;以及基于所述历史特征信息确定所述待传输图像的参考信息,并确定所述参考信息对应的偏移数据;将所述参考信息对应的偏移数据发送至所述客户端,从而将所述待传输图像发送至所述客户端。以此能够解决现有技术中图像传输的速度慢的问题,提高图像传输速率。
Smart Images

Figure CN120475198B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of image technology, and in particular to an image transmission method, an electronic terminal, and a computer-readable storage medium. Background Technology
[0002] Currently, push notifications are essential for users, and message cover images provide users with a more realistic view. Therefore, when users view messages in real time or query messages in batches, they are accompanied by the display of cover images. In some scenarios where cameras frequently generate messages (especially during morning rush hour), each user request to retrieve the cover image generates a large amount of downlink traffic. Therefore, integrating message cover images to reduce the downlink bandwidth consumption caused by message cover images and to reduce the storage of cover images on the platform is essential.
[0003] One existing technique involves dividing an image into SVG (Scalable Vector Graphics) fragments based on its regions. By comparing these fragments with all previously transmitted SVG images, incremental fragments are identified for transmission, thus improving the efficiency of batch image transmission. However, this method requires comparing all SVG images, making it complex and consuming more system resources. Summary of the Invention
[0004] The main technical problem solved by this invention is to provide an image transmission method, an electronic terminal, and a computer-readable storage medium, thereby solving the problem of slow image transmission speed in the prior art.
[0005] To solve the above-mentioned technical problems, the first technical solution adopted by the present invention is: providing an image transmission method applied to a service platform, the image transmission method comprising: receiving image transmission information, the image transmission information being sent by a client, including request information for requesting the service platform to transmit an image to be transmitted, and historical feature information of the image to be transmitted; determining the image to be transmitted based on the request information; determining reference information of the image to be transmitted based on the historical feature information, and determining offset data corresponding to the reference information; and sending the offset data corresponding to the reference information to the client, thereby sending the image to be transmitted to the client.
[0006] To solve the above-mentioned technical problems, the second technical solution adopted by the present invention is: to provide an image transmission method, wherein the image transmission method is applied to a client, and the image transmission method includes: receiving a push message, wherein the push message includes attribute information of the image to be transmitted; the push message is sent to the client by the service platform after receiving an image reporting request;
[0007] Based on the attribute information of the image to be transmitted, historical feature information of the image to be transmitted is determined. Based on the historical feature information of the image to be transmitted and the request information for transmitting the image to be transmitted, image transmission information is generated and sent to the service platform. The service platform then determines the image to be transmitted based on the request information. Additionally, based on the historical feature information, reference information of the image to be transmitted is determined, and offset data corresponding to the reference information is determined. The offset data corresponding to the reference information is received, and the image to be transmitted is displayed based on the offset data corresponding to the reference information and the reference information.
[0008] To solve the above-mentioned technical problems, the third technical solution adopted by the present invention is: to provide an electronic terminal, the electronic terminal including a memory and a processor coupled to each other, the processor being used to execute program instructions stored in the memory, and the processor being used to execute program data to implement the steps in the image transmission method described above.
[0009] To solve the above-mentioned technical problems, the fourth technical solution adopted by the present invention is to provide a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps in the image transmission method described above.
[0010] The beneficial effects of this invention are as follows: Unlike existing technologies, the provided image transmission method includes: receiving image transmission information, wherein the image transmission information is sent by a client, including request information for the service platform to transmit an image to be transmitted, and historical feature information of the image to be transmitted; determining the image to be transmitted based on the request information; determining reference information of the image to be transmitted based on the historical feature information, and determining offset data corresponding to the reference information; and sending the offset data corresponding to the reference information to the client, thereby sending the image to be transmitted to the client. This solves the problem of slow image transmission speed in existing technologies and improves the image transmission rate. Attached Figure Description
[0011] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0012] Figure 1 This is a flowchart illustrating the first embodiment of the image transmission method provided by the present invention;
[0013] Figure 2This is a flowchart illustrating a specific embodiment of the image compression method in the image transmission method of the first embodiment provided by the present invention;
[0014] Figure 3 This is a flowchart illustrating the second embodiment of the image transmission method provided by the present invention;
[0015] Figure 4 This is a schematic diagram of the framework of an embodiment of the electronic terminal provided by the present invention;
[0016] Figure 5 This is a schematic diagram of a framework of an embodiment of the computer-readable storage medium provided by the present invention. Detailed Implementation
[0017] The embodiments of this application will now be described in detail with reference to the accompanying drawings.
[0018] In the following description, specific details such as particular system architectures, interfaces, and technologies are presented for illustrative purposes rather than for limiting purposes, in order to provide a thorough understanding of this application.
[0019] In this article, the term "and / or" simply describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. Additionally, the character " / " generally indicates that the preceding and following related objects have an "or" relationship. Furthermore, "more" in this article means two or more objects.
[0020] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0021] Before providing a further detailed description of the embodiments of this application, the nouns and terms involved in the embodiments of this application will be explained, and the nouns and terms involved in the embodiments of this application shall be interpreted as follows.
[0022] The image transmission method provided in this application can be implemented by a server or terminal alone, or by a server and terminal working together. In some embodiments, the terminal or server can implement the image transmission method provided in this application by running a computer program. For example, the computer program can be a native program or software module in an operating system; it can be a native application (APP), i.e., a program that needs to be installed in the operating system to run, such as a client that supports virtual scenes, such as a game APP; it can also be a mini-program, i.e., a program that only needs to be downloaded to a browser environment to run; or it can be a mini-program that can be embedded in any APP. In short, the above-mentioned computer program can be any form of application, module, or plugin.
[0023] To enable those skilled in the art to better understand the technical solution of the present invention, the image transmission method provided by the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0024] Please see Figure 1 This is a flowchart illustrating the first embodiment of the image transmission method of this application. The image transmission method of this embodiment is applied to a service platform. Specifically, it includes:
[0025] Step S11: Receive image transmission information.
[0026] Before implementing the image transmission method of the first embodiment of this application, the image also needs to be compressed. For details, please refer to... Figure 2 , Figure 2 This is a flowchart illustrating an embodiment of the image compression method in the first embodiment of the image transmission method of this application, specifically including:
[0027] Step S21: Receive the image reporting request and the image to be transmitted corresponding to the image reporting request.
[0028] Specifically, the image reporting request is sent to the service platform when the image acquisition device triggers the image acquisition mechanism, and the image to be transmitted is the image acquired when the image acquisition device triggers the image acquisition mechanism.
[0029] In one embodiment of this application, the image acquisition mechanism may be triggered when a change occurs in the image. When the image acquisition device, such as a camera, detects this change, it determines that the image acquisition mechanism has been triggered, thereby acquiring the current image. In other embodiments, the image acquisition mechanism may be triggered at a certain time, or other mechanisms may also be used, which will not be elaborated here. This application uses a change in the image acquisition mechanism as an example for explanation.
[0030] Specifically, multiple image acquisition devices are set up at the image acquisition location. Each image acquisition device captures images of a specific area, and each device has its own unique ID. The images it captures and transmits also have corresponding attribute information (this application defines this attribute information as corresponding to the ID of the image acquisition device). When the image captured by the image acquisition device changes, it sends an image reporting request and the corresponding image to be transmitted to the service platform. It can be understood that the image to be transmitted is the image captured by the image acquisition device when the image changes.
[0031] Step S22: Determine the reference information corresponding to the image to be transmitted based on the attribute information corresponding to the image to be transmitted.
[0032] After receiving the image to be transmitted, the service platform needs to send it to the client for display. To improve the image transmission rate, the image needs to be compressed.
[0033] Understandably, since each camera captures a fixed area, the background and lighting in the images captured by that camera over a given time period are identical. For example, fixed buildings, trees, and flowers are all the same in the captured photos; only moving objects on the road will differ. During image compression, the unchanging parts of the image are used as reference information for the transmitted image, while the changing parts are compressed to obtain the offset data corresponding to that reference information. Furthermore, weather factors are taken into account: images captured in the morning have the same lighting, as do images captured at noon. By considering weather and lighting factors during image compression, the compression effect is further improved. Thus, when transmitting the images, only the offset data needs to be transmitted, reducing the amount of data transmitted and increasing transmission speed.
[0034] In one specific embodiment, when the system is running for the first time, after the client receives the push message, it can directly request the service platform to transmit the compressed data of the initial image to be transmitted to the client. The client and the service platform will use the compressed data of the initial image to be transmitted as historical reference information of the image to be transmitted.
[0035] Furthermore, since each image acquisition device covers a different area, it is necessary to determine reference information for each image acquisition device. This reference information is applicable to the images to be transmitted acquired by that image acquisition device. Specifically, each image acquisition device has corresponding reference information for its acquired images to be transmitted. For example, the ID of the image acquisition device, the image to be transmitted, and the reference information of the image to be transmitted can be associated.
[0036] Furthermore, considering weather and lighting factors, images acquired by each image acquisition device throughout the day are grouped by time. Images acquired in the morning are grouped together, images acquired at noon are grouped together, and images acquired at the end of the day are grouped together. Each group of images has corresponding reference information. For example, based on the association between the image acquisition device ID, the image to be transmitted, and the reference information of the image to be transmitted, the acquisition time of the image to be transmitted can be further associated.
[0037] When compressing an image, reference information corresponding to the image to be transmitted is first determined based on the attribute information of the image to be transmitted. In this embodiment, the attribute information is set to the ID of the image acquisition device and the acquisition time of the image to be transmitted. Specifically, a first reference image set is determined based on the ID of the image acquisition device corresponding to the image to be transmitted. It can be understood that the first reference image set is a set of all reference information of a certain image acquisition device stored on the service platform. The reference information corresponding to the image to be transmitted is determined from the first reference image set based on the acquisition time of the image to be transmitted. For example, if the acquisition time of the image to be transmitted is 8:00-9:00 AM, the reference information corresponding to the time period of 8:00-9:00 AM can be found from the set of all reference information of the image acquisition device, and this reference information is determined as the reference information corresponding to the image to be transmitted.
[0038] Step S23: Compress the image to be transmitted based on the reference information to obtain the offset data corresponding to the reference information.
[0039] If a corresponding reference information is found for the current image to be transmitted, the image to be transmitted is compressed based on the reference information. For example, the difference between the current image to be transmitted and the reference information can be directly compressed to obtain the offset data corresponding to the reference information. When compressing and storing data, the offset data corresponding to the reference information can be further associated based on the association between the image acquisition device ID, the image to be transmitted, the reference information of the image to be transmitted, and the acquisition time of the image to be transmitted.
[0040] It is understood that the reference information and the corresponding offset data represent the image to be transmitted.
[0041] In another embodiment of this application, if the reference information corresponding to the image to be transmitted cannot be found, for example, when the system is initialized and put into use, the initial image to be transmitted can be directly used as the reference information of the image to be transmitted. After the image to be transmitted is acquired next time, the two are compared. The same part is used as the reference information of the image to be transmitted, and the different part is used as the offset data corresponding to the reference information.
[0042] The image transmission method in this embodiment transmits the images to be transmitted through the service platform and stores the compressed data of the images, thereby saving message image resource storage space and improving platform space utilization.
[0043] Image compression can be achieved through steps S21 to S23 described above. During image transmission, compressed data can be transmitted directly, thereby improving the image transmission rate. See below for further details. Figure 1 The image transmission method of this application will be described.
[0044] Step S12: Determine the image to be transmitted based on the request information; and determine the reference information of the image to be transmitted based on the historical feature information, and determine the offset data corresponding to the reference information.
[0045] In step S11, when the image acquisition mechanism is triggered, the image acquisition device sends an image reporting request and the corresponding image to be transmitted to the service platform, so that the service platform can compress the image to be transmitted.
[0046] After receiving an image reporting request, the service platform sends a push message to the client to inform the client that the image has been updated. At this time, the client sends image transmission information to the service platform, requesting the client to transmit the corresponding image to the client.
[0047] Specifically, the service platform receives image transmission information, which includes a request to transmit an image to be transmitted and historical feature information of the image to be transmitted. It should be noted that each time an image to be transmitted is sent to the client, the client saves the feature information of the transmitted image. This saved feature information can then be used as historical feature information in the next transmission of an image to be transmitted.
[0048] When requesting the transmission of an image, the client simultaneously sends the historical feature information of that image to the service platform. This allows the service platform to transmit the image based on this historical feature information. This client-specified transmission method improves the efficiency of incremental data generation. Existing methods typically compare images from historical images, requiring multiple comparisons if multiple historical images exist, which is inefficient and consumes service performance. This application, however, uses client-side historical feature information, thus improving efficiency.
[0049] In one embodiment, the historical feature information of the image to be transmitted includes historical reference information of the image to be transmitted and historical offset data corresponding to the historical reference information.
[0050] Specifically, after receiving the historical reference information and historical offset data of the image to be transmitted, the service platform determines whether the historical reference information of the image to be transmitted is the same as the current reference information of the image to be transmitted stored in the service platform. If they are the same, the current reference information is determined as the reference information of the image to be transmitted, and the current offset data corresponding to the current reference information is determined as the offset data corresponding to the reference information.
[0051] During image transmission, the service platform compares the historical reference information of previously stored images to be transmitted with the current reference information of the current image to be transmitted to confirm whether the historical reference information and the current reference information of the image to be transmitted stored in the service platform are the same. If they are the same, it means that the background of the current image to be transmitted is the same as the background of the previous image. At this time, the current reference information of the current image to be transmitted is determined as the reference information of the current image to be transmitted, and the current offset data corresponding to the current reference information (i.e., the compressed data of different parts of the image) is determined as the offset data corresponding to the reference information.
[0052] Step S13: Send the offset data corresponding to the reference information to the client, thereby sending the image to be transmitted to the client.
[0053] The offset data corresponding to the reference information is sent to the client. Since the reference information and the offset data corresponding to the reference information represent the image to be transmitted, sending the offset data can complete the transmission of the image to be transmitted to the client.
[0054] In one embodiment of this application, during system initialization of transmission, the historical reference information of the image to be transmitted is the image to be transmitted from the service platform to the client for the first time. During the next transmission, the image to be transmitted is compared with the image to be transmitted in the first transmission, and the same part is determined as the reference information of the image to be transmitted. The different parts of the currently transmitted image to be transmitted compared with the image to be transmitted in the first transmission are used as offset data.
[0055] Furthermore, during image transmission, the service platform compares the historical reference information of previously stored images to be transmitted with the current reference information of the current image to be transmitted to confirm whether the historical reference information of the image to be transmitted and the current reference information of the image to be transmitted stored in the service platform are the same. If they are different, it indicates that the fixed background of the currently transmitted image to be transmitted has changed compared to the historically transmitted images to be transmitted. At this time, a first original image is determined based on the historical reference information and the historical offset data corresponding to the historical reference information; the first original image is the historically transmitted image to be transmitted. A second original image is also determined based on the current reference information and the current offset data corresponding to the current reference information; the second original image is the image to be transmitted now. Based on the first original image and the second original image, reference information to be updated and the offset data to be updated corresponding to the reference information are determined. The reference information to be updated is determined as the reference information of the image to be transmitted, and the offset data to be updated corresponding to the reference information is determined as the offset data corresponding to the reference information. Specifically, the first original image and the second original image are compared. The identical portions are used as reference information to be updated, and the different portions of the second original image compared to the first original image are used as offset data to be updated. The reference information to be updated is determined as the reference information for the image to be transmitted, and the offset data corresponding to the reference information is determined as the offset data corresponding to the reference information and sent to the client. The client can update historical data based on the received data.
[0056] After receiving the offset data corresponding to the reference information, the client performs image rendering by combining the reference information with its corresponding offset data. This integration of the reference information and its corresponding offset data yields the image to be transmitted. By rendering the image as a texture or bitmap and reusing the reference information, the rendering efficiency of similar display message images acquired by the same image acquisition device is improved, especially for batch message image page displays.
[0057] See Figure 3 , Figure 3 This is a flowchart illustrating a second embodiment of the image transmission method of this application. The image transmission method described in this embodiment is applied to a client. Specifically, the image transmission method includes:
[0058] Step S31: Receive push message.
[0059] When the image acquisition device triggers the image acquisition mechanism, it sends an image reporting request and the corresponding image to be transmitted to the service platform, so that the service platform can compress the image to be transmitted.
[0060] The push message is sent from the service platform to the client after receiving the image reporting request. Specifically, after receiving the image reporting request, the service platform sends a push message to the client, which includes attribute information of the image to be transmitted. The push message is used to inform the client which specific area of the image has changed.
[0061] Step S32: Determine the historical feature information of the image to be transmitted based on the attribute information of the image to be transmitted, generate image transmission information based on the historical feature information of the image to be transmitted and the request information for transmitting the image to be transmitted, and send it to the service platform.
[0062] The client receives a push message and determines the historical feature information of the image to be transmitted based on the attribute information of the image to be transmitted in the push message. The historical feature information of the image to be transmitted includes the historical reference information of the image to be transmitted and the historical offset data corresponding to the historical reference information.
[0063] Understandably, the attribute information of the image to be transmitted includes the ID information of the image acquisition device corresponding to the image to be transmitted and the acquisition time of the image to be transmitted, as described above. Figure 1 The same applies in this embodiment. The client stores the ID information of the image acquisition device corresponding to the image to be transmitted, as well as the acquisition time of each received image to be transmitted. It is understood that, to improve the transmission rate, when the service platform transmits the image to be transmitted to the client, it transmits offset data relative to the reference information. Therefore, the image to be transmitted stored by the client consists of the reference information and the corresponding offset data. Furthermore, after receiving and storing the reference information and the corresponding offset data, the client's definition changes to the historical reference information corresponding to the image to be transmitted and the historical offset data corresponding to the historical reference information.
[0064] The client knows the ID of the image acquisition device corresponding to the image to be transmitted. Based on the ID of the image acquisition device corresponding to the image to be transmitted, a second reference image set is determined. The second reference image set is a set of all reference information of a certain image acquisition device stored by the client. Based on the acquisition time corresponding to the image to be transmitted, the client determines the historical feature information corresponding to the image to be transmitted from the second reference image set. For example, if the acquisition time of the image to be transmitted is 8:00-9:00 AM, the client can find the reference information corresponding to the time period of 8:00-9:00 AM from the set of all reference information of the image acquisition device, and determine this reference information as the reference information corresponding to the image to be transmitted.
[0065] When a client requests the transmission of an image to be transmitted from a service platform, it also sends historical feature information of the image to be transmitted, including historical reference information of the image to be transmitted and historical offset data corresponding to the historical reference information. This method of specifying the content to be transmitted by the client eliminates the need for multiple image comparisons on the service platform, thereby improving transmission efficiency.
[0066] The client sends image transmission information to the service platform, enabling the service platform to determine the image to be transmitted based on the request information; and to determine reference information for the image to be transmitted based on the historical feature information, and to determine the offset data corresponding to the reference information. Please refer to the above for details. Figure 1 The embodiments shown will not be described in detail here.
[0067] Step S33: Receive the offset data corresponding to the reference information, and display the image to be transmitted based on the offset data corresponding to the reference information and the reference information.
[0068] After receiving the offset data corresponding to the reference information, the client performs image rendering by combining the reference information with its corresponding offset data. This integration of the reference information and its corresponding offset data yields the image to be transmitted. By rendering the image as a texture or bitmap and reusing the reference information, the rendering efficiency of similar display message images acquired by the same image acquisition device is improved, especially for batch message image page displays.
[0069] Please see Figure 4 , Figure 4 This is a schematic diagram of the framework of an embodiment of the electronic terminal provided by the present invention. The electronic terminal 80 includes a memory 81 and a processor 82 coupled to each other. The processor 82 is used to execute program instructions stored in the memory 81 to implement the steps of any of the above-described image transmission method embodiments. In a specific implementation scenario, the terminal 80 may include, but is not limited to, a microcomputer or a server. In addition, the terminal 80 may also include mobile devices such as laptops and tablets, which are not limited here.
[0070] Specifically, processor 82 controls itself and memory 81 to implement the steps of any of the above-described image transmission method embodiments. Processor 82 may also be referred to as a CPU (Central Processing Unit). Processor 82 may be an integrated circuit chip with signal processing capabilities. Processor 82 may also be a general-purpose processor, digital signal processor (DSP), application-specific integrated circuit (ASIC), field-programmable gate array (FPGA), or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component. A general-purpose processor may be a microprocessor or any conventional processor. Furthermore, processor 82 may be implemented using integrated circuit chips.
[0071] Please see Figure 5 , Figure 5 This is a schematic diagram of a framework of an embodiment of a computer-readable storage medium provided by the present invention. The computer-readable storage medium 90 stores program instructions 901 that can be executed by a processor. The program instructions 901 are used to implement the steps of any of the above-described image transmission method embodiments.
[0072] In some embodiments, the functions or modules of the apparatus provided in this disclosure can be used to perform the methods described in the above method embodiments. The specific implementation can be referred to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.
[0073] The description of the various embodiments above tends to emphasize the differences between the various embodiments. The similarities or similarities between them can be referred to, and for the sake of brevity, they will not be repeated here.
[0074] In the several embodiments provided in this application, it should be understood that the disclosed methods and apparatus can be implemented in other ways. For example, the apparatus implementations described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection of devices or units may be electrical, mechanical, or other forms.
[0075] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0076] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods of various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0077] The above are merely embodiments of the present invention and do not limit the scope of patent protection of the present invention. Any equivalent structural or procedural transformations made based on the content of the present invention's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.
Claims
1. An image transmission method, characterized in that, The image transmission method is applied to the service platform and includes: Receive image transmission information, which is sent by the client and includes request information for requesting the service platform to transmit the image to be transmitted, as well as historical feature information of the image to be transmitted; The image to be transmitted is determined based on the request information; and reference information of the image to be transmitted is determined based on the historical feature information, and offset data corresponding to the reference information is determined. The offset data corresponding to the reference information is sent to the client, thereby sending the image to be transmitted to the client; The historical feature information includes historical reference information of the image to be transmitted and historical offset data corresponding to the historical reference information; The image to be transmitted is determined based on the request information; and reference information for the image to be transmitted is determined based on the historical feature information, including the offset data corresponding to the reference information: Determine whether the historical reference information of the image to be transmitted is the same as the current reference information of the image to be transmitted stored in the service platform. In response to differences, a corresponding first original image is determined based on the historical reference information and the historical offset data corresponding to the historical reference information; and a corresponding second original image is determined based on the current reference information and the current offset data corresponding to the current reference information. Based on the first original image and the second original image, the reference information to be updated and the offset data to be updated corresponding to the reference information are determined, and the reference information to be updated is determined as the reference information of the image to be transmitted, and the offset data to be updated corresponding to the reference information is determined as the offset data corresponding to the reference information.
2. The image transmission method according to claim 1, characterized in that, The step of determining whether the historical reference information of the image to be transmitted and the current reference information of the image to be transmitted stored in the service platform are the same further includes: In response to the same condition, the current reference information is determined as the reference information of the image to be transmitted, and the current offset data corresponding to the current reference information is determined as the offset data corresponding to the reference information.
3. The image transmission method according to claim 1, characterized in that, The image transmission method further includes: The system receives an image reporting request and the corresponding image to be transmitted. The image reporting request is sent to the service platform when the image acquisition device triggers the image acquisition mechanism, and the image to be transmitted is the image acquired when the image acquisition device triggers the image acquisition mechanism. Based on the attribute information corresponding to the image to be transmitted, determine the reference information corresponding to the image to be transmitted; The image to be transmitted is compressed based on the reference information to obtain offset data corresponding to the reference information; wherein the reference information and the offset data corresponding to the reference information represent the image to be transmitted.
4. The image transmission method according to claim 3, characterized in that, The attribute information corresponding to the image to be transmitted includes the ID information of the image acquisition device corresponding to the image to be transmitted and the acquisition time of the image to be transmitted; Determining reference information corresponding to the image to be transmitted based on the attribute information corresponding to the image to be transmitted includes: A first reference image set is determined based on the ID of the image acquisition device corresponding to the image to be transmitted; The reference information corresponding to the image to be transmitted is determined from the first set of reference images based on the acquisition time corresponding to the image to be transmitted.
5. An image transmission method, characterized in that, The image transmission method is applied to a client, and the image transmission method includes: The system receives a push message, which includes attribute information of the image to be transmitted; the push message is sent to the client by the service platform after receiving the image reporting request. Based on the attribute information of the image to be transmitted, historical feature information of the image to be transmitted is determined. Based on the historical feature information of the image to be transmitted and the request information for transmitting the image to be transmitted, image transmission information is generated and sent to the service platform. This enables the service platform to determine the image to be transmitted based on the request information. Additionally, based on the historical feature information, reference information of the image to be transmitted is determined, and offset data corresponding to the reference information is determined. Receive offset data corresponding to the reference information, and display the image to be transmitted based on the offset data corresponding to the reference information and the reference information; The historical feature information of the image to be transmitted includes historical reference information of the image to be transmitted and historical offset data corresponding to the historical reference information; The image to be transmitted is determined based on the request information; and reference information for the image to be transmitted is determined based on the historical feature information, including the offset data corresponding to the reference information: Determine whether the historical reference information of the image to be transmitted is the same as the current reference information of the image to be transmitted stored in the service platform. In response to differences, a corresponding first original image is determined based on the historical reference information and the historical offset data corresponding to the historical reference information; and a corresponding second original image is determined based on the current reference information and the current offset data corresponding to the current reference information. Based on the first original image and the second original image, the reference information to be updated and the offset data to be updated corresponding to the reference information are determined, and the reference information to be updated is determined as the reference information of the image to be transmitted, and the offset data to be updated corresponding to the reference information is determined as the offset data corresponding to the reference information.
6. The image transmission method according to claim 5, characterized in that, The attribute information corresponding to the image to be transmitted includes the ID information of the image acquisition device corresponding to the image to be transmitted and the acquisition time of the image to be transmitted; Determining the historical feature information of the image to be transmitted based on its attribute information includes: A second reference image set is determined based on the ID of the image acquisition device corresponding to the image to be transmitted; Based on the acquisition time corresponding to the image to be transmitted, the historical feature information corresponding to the image to be transmitted is determined from the second reference image set.
7. An electronic terminal, characterized in that, The electronic terminal includes a memory and a processor coupled to each other. The processor is used to execute program instructions stored in the memory and to execute program data to implement the steps in the image transmission method as described in any one of claims 1 to 4 and 5 to 6.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the image transmission method as described in any one of claims 1-4 and 5-6.
Citation Information
Patent Citations
Information processing apparatus, image transmitting program, image transmitting method and image display method
US20120236199A1