WO2023200395A1 - Method and apparatus for transmitting data, device and storage medium - Google Patents

Method and apparatus for transmitting data, device and storage medium Download PDF

Info

Publication number
WO2023200395A1
WO2023200395A1 PCT/SG2022/050800 SG2022050800W WO2023200395A1 WO 2023200395 A1 WO2023200395 A1 WO 2023200395A1 SG 2022050800 W SG2022050800 W SG 2022050800W WO 2023200395 A1 WO2023200395 A1 WO 2023200395A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
history
information
receiving device
mark
Prior art date
Application number
PCT/SG2022/050800
Other languages
French (fr)
Inventor
Tao Wu
Lang MING
Original Assignee
Envision Digital International Pte. Ltd.
Shanghai Envision Digital Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Envision Digital International Pte. Ltd., Shanghai Envision Digital Co., Ltd. filed Critical Envision Digital International Pte. Ltd.
Publication of WO2023200395A1 publication Critical patent/WO2023200395A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/258Data format conversion from or to a database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application

Definitions

  • the present disclosure relates to the field of Internet and computer technologies, and in particular relates to a method and apparatus for transmitting data, a device and a storage medium.
  • the data uploading device converts the information according to the conversion scheme designed in advance, to acquire the data to be uploaded and upload tire data to the data receiving device.
  • Embodiments of the present disclosure provide a method and apparatus for transmitting data, a device and a storage medium, capable of improving the efficiency of uploading history 7 date.
  • the technical solutions are as follows.
  • a method for transmitting data includes:
  • an apparatus for transmitting data includes: [0011] an instruction receiving module, configured to receive a data upload instruction from a data receiving device, wherein the data upload instruction comprises a range mark of data to be uploaded;
  • a data acquisition module configured to acquire history data from locally stored information according to the range mark by using different information processing components, wherein different information processing components are configured to perform format conversion on information in different formats;
  • a data uploading module configured to upload the history data to the data receiving device.
  • a computer device in stil l another aspect of the embodiments of the present disclosure, includes a processor and a memory'.
  • Tire memory' stores one or more computer programs that, when loaded and executed by the processor, cause the computer device to perform the method for transmitting data.
  • the computer device is a data uploading device.
  • a non-transitory computer-readable storage medium stores one or more computer programs, wherein one or more computer programs, when executed by a processor, cause a computer device to perform the method for transmitting data.
  • a computer program product when running, causes a computer device to perform the method for transmitting data.
  • history' information can be successfully converted into the history' data in an appropriate format.
  • the information conversion scheme for the new' scenario can be determined quickly.
  • the technical solutions are easy to operate and can effectively improve the efficiency of uploading history data in changeable scenarios.
  • FIG. 1 is a schematic diagram of a system for transmitting data according to some embodiments of the present disclosure
  • FIG. 2 is a schematic diagram of a manner for transmitting data according to an example embodiment
  • FIG. 3 is a flowchart of a method for transmitting data according to some embodiments of the present disclosure
  • FIG. 4 is a schematic diagram of another manner for transmitting data according to an example embodiment
  • FIG. 5 is a block diagram of an apparatus for transmitting data according to some embodiments of the present disclosure.
  • FIG. 6 is a block diagram of another apparatus for transmitting data according to some embodiments of the present disclosure.
  • FIG. 7 is a schematic structural diagram of a computer device according to some embodiments of the present disclosure.
  • FIG. 1 is a schematic diagram of a system for transmitting data according to some embodiments of the present disclosure.
  • the system for transmitting data includes a data uploading device 10 and a data receiving device 20.
  • Tire data uploading device 10 is configured to collect and upload data.
  • the data uploading device is an electronic device such as a mobile phone, a tablet computer, a game console, an e-book reader, a multimedia player, a wearable device, and a personal computer (PC).
  • the data may be real-time data acquired in real time or history data acquired and stored previously.
  • the data receiving device 20 is configured to receive data from the data uploading device 10.
  • the data receiving device 20 may be an electronic device such as a mobile phone, a tablet computer, a game console, an e-book reader, a multimedia player, a wearable device, and a personal computer (PC). It should be noted that the data uploading device 10 and the data receiving device 20 may be the same type of devices or different types of devices, which is not limited in the embodiments of the present disclosure. In some embodiments, the data receiving device 20 corresponds to one or more data uploading devices 10, that is, the data receiving device 20 receives data from different data uploading devices 10.
  • the data uploading device 10 transmits data to the data receiving device 20 through a network.
  • the data uploading device 10 includes a task monitoring unit 11. After receiving a data upload instraction from the data receiving device 20, the task monitoring unit 11 acquires history data stored locally through a data reading unit 12 in data uploading device 10. Then, the data uploading device 10 uploads the history data to the data receiving device 20 over a history data transmission channel, and uploads the real-time data to the data receiving device 20 over a real-time data transmission channel at the same time.
  • FIG . 3 is a flowchart of a method for transmitting data according to some embodiments of the present disclosure. This method is applied to the data uploading device 10 in the system for transmitting data shown in FIG. 1. Referring to FIG. 3, the method includes the following steps (301-303).
  • step 301 a data upload instraction from a data receiving device is received.
  • the data upload instruction instructs the data uploading device to upload data to the data receiving device,
  • data may be real-time data acquired in real time or history data stored locally.
  • the data uploading device receives the data upload instruction from the data receiving device before uploading the data to the data receiving device.
  • the data upload instraction includes a range mark of the data to be uploaded.
  • the range mark is a search range of the history data.
  • the data upload instruction is a response instruction to a data transmission request.
  • step 301 includes the following steps.
  • the data transmission request is sent to the data receiving device in the case that no response information is received from the data receiving device within a target duration of time.
  • the data uploading device can receive response information to the uploaded data from the data receiving device.
  • the response information includes the verification information.
  • the data uploading device determines whether the data receiving device successfully and correctly receives the uploaded data based on the verification information.
  • the data uploading device sends a data transmission request to the data receiving device in the case that the data uploading device does not receive tire response information from the data receiving device within a target duration of time.
  • the target duration of time is a certain duration of time after the data is uploaded.
  • Tire target duration of time may be set and adjusted flexibly according to actual situations, which is not limited in the embodiments of the present disclosure.
  • the data transmission request includes a period corresponding to the target duration of time.
  • the data receiving device After receiving the data transmission request, the data receiving device generates the data upload instruction in the case that the data transmission request meets a condition.
  • the condition is a judgment condition for a current data transmission environment.
  • the data receiving device determines that the data receiving device itself fails to receive the correct data within the period corresponding to the target duration of time, and repairs data transmission malfunction. After repairing the data transmission malfunction, the data receiving device determines that the current data transmission environment meets tire condition, determines the search range of the history 7 data which is not received successfully based on the corresponding period of the target duration of time, and generates the data upload instruction.
  • the data uploading device may also send the data transmission request to the data receiving device.
  • the data transmission request also includes a first identifier or a second response identifier. The first response identifier indicates that the data uploading device does not receive the response information, and the second response identifier indicates that the data uploading device receives wrong response information.
  • Tire data upload instruction is received from the data receiving device.
  • the data receiving device after generating the data upload instruction, sends the data upload instruction to the data uploading device, and accordingly, the data uploading device receives the data upload instruction from the data receiving device.
  • step 302 history data is acquired from the locally stored information according to the range mark by using different information processing components.
  • the data uploading device after receiving the data upload instruction, acquires history data from the locally stored information according to the range mark by using different information processing components in the data upload instruction. Different information processing components are configured to perform format conversion on information in different formats.
  • different information processing components are connected in series or in parallel.
  • different information processing components include a first information processing component, a second information processing component, a third information processing component, and a fourth information processing component; and the first information processing component is configured to convert history information A into history information B, the second information processing component is configured to convert history information B into history information C, the third information processing component is configured to convert history 7 information C into history information D, and the fourth information processing component is configured to convert history 7 information D into history data.
  • the first information processing component is connected in series with the second information processing component
  • the second information processing component is connected in series with the third information processing component, that is, the first information processing component, the second information processing component and the third information processing component form a complete series chain.
  • the fourth information processing component is connected in parallel with the series chain formed by the first information processing component, the second information processing component and the third information processing component.
  • step 303 history data is uploaded to the data receiving device.
  • the data uploading device uploads tire history data to the data receiving device.
  • the data uploading device acquires real-time data and uploads the real-time data and history 7 data in parallel to the data receiving device.
  • the real-time data is generated after the history 7 data.
  • the data uploading device when uploading the real-time data and the history 7 data in parallel, the data uploading device uploads the real-time data to the data receiving device over the real-time data transmission channel, and uploads the history 7 data to tire data receiving device over the history 7 data transmission channel.
  • the real-time data may be generated after the history 7 data, that is, the generation time of the real-time data is after the generation time of the history data.
  • the real-time data may be generated after the history 7 data and within the range indicated by the range mark.
  • the real-time data is generated after the history data.
  • the data uploading device acquires the real-time data, acquires candidate data generated after the history 7 data, and determines the candidate data as the real-time data.
  • the real-time data is generated after the history data and within the range indicated by the range mark.
  • the data uploading device acquires the real-time data
  • the data uploading device acquires the candidate data generated after the history data, and determines the candidate data satisfying the range mark in the candidate data as real-time data.
  • the data uploading device may acquire data from different sources. For example, as shown in FIG. 4, the data uploading device acquires data from a first source, a second source, and a third source and uploads the data from different sources to the data receiving device over the real-time data transmission channel and the history data transmission channel.
  • step 302 includes the following steps.
  • the data uploading device after receiving the data upload instruction, acquires the history' information satisfying the range mark from the locally stored data according to the range mark of the data upload instraction.
  • the range mark includes a period mark.
  • the data uploading device acquires the history information from the locally' stored data according to the period mark.
  • the history' information is generated w'ithin the period indicated by the period mark.
  • the range mark includes a source mark.
  • the data uploading device acquires the history information from the locally stored data according to the source mark.
  • the history information is from the source indicated by the source mark.
  • the range mark includes an association mark.
  • tire data uploading device acquires the history information from the locally stored data according to the association mark.
  • the history information is information of an associated item indicated by the association mark.
  • the range mark may also include two or more of the period mark, source mark or association mark, which is not limited in the embodiments of the present disclosure.
  • the history information is converted into the format corresponding to the data to be uploaded by using different information processing components to acquire the history data.
  • the data uploading device converts the history' information into the format corresponding to the data to be uploaded by using different information processing components to acquire the history' data.
  • the data uploading device when acquiring the history' data, performs format conversion on the history' information in different formats by using different information processing components to acquire the history' data.
  • the data uploading device when acquiring the history' data, acquires a connection order of the information processing components, and performs format conversion on the history' information by taking the connection order as the order of processing the history information, to acquire the history' data.
  • FIG. 5 is a block diagram of an apparatus for transmitting data according to some embodiments of the present disclosure.
  • the apparatus has the function of implementing foregoing the method for transmitting data, and the function may' be implemented by hardware or by software executed by corresponding hardware.
  • the apparatus may be a data uploading device or configured in the data uploading device.
  • the apparatus 500 includes an instruction receiving module 510, a data acquisition module 520 and a data uploading module 530.
  • the instruction receiving module 510 is configured to receive a data upload instruction from the data receiving device.
  • the data upload instruction includes a range mark of data to be uploaded.
  • the data acquisition module 520 is configured to acquire history data from locally' stored information by using different information processing components. Different information processing components are configured to perform formation conversion on information in different formats.
  • the data uploading module 530 is configured to upload the history' data to the data receiving device.
  • the data acquisition module 520 includes an information acquisition unit 521 and an information conversion unit 522.
  • the information acquisition unit 521 is configured to acquire history information satisfying the range mark from the locally stored data.
  • the information conversion unit 522 is configured to convert the history information into the format corresponding to the data to be uploaded by using different information processing components to acquire the history data.
  • the information conversion unit 522 is configured to perform format conversion on the history information in different formats by using different information processing components to acquire the history' data; or, acquire a connection order of the information processing components; and perform format conversion on the history information by taking the connection order as an order of processing the history' information to acquire the history' data.
  • the information acquisition unit 521 is configured to acquire the history information from the locally stored data according to the period mark.
  • the history information is generated within the period indicated by the period mark.
  • the information acquisition unit 521 is configured to acquire the history information from the locally' stored data according to tire source mark.
  • the history information is from the source indicated by the source mark.
  • the information acquisition unit 521 is configured to acquire the history' information from the locally stored data according to association mark.
  • the history' information is information of an associated item indicated by the association mark.
  • the data uploading module 530 includes a data acquisition unit 531 and a data uploading unit 532.
  • Tire data acquisition unit 531 is configured to acquire real-time data.
  • the real-time data is generated after the history data.
  • the data uploading unit 532 is configured to upload the real-time data and the history data to the data receiving device in parallel.
  • the data uploading unit 532 is configured to upload the real-time data to the data receiving device over a real-time data transmission channel; and upload the historydata to die data receiving device over a history- data transmission channel.
  • the instraction receiving module 510 is configured to send a data transmission request to the data receiving device in the case that no response information is received from the data receiving device within a target duration of time.
  • the data transmission request includes a period corresponding to the target duration of time, and the data receiving device generates the data upload instruction in the case that the data transmission request meets the condition.
  • the instruction receiving module 510 is further configured to receive the data upload instruction from the data receiving device.
  • FIG. 7 is a block diagram of a computer device according to some embodiments of the present disclosure.
  • the computer equipment may be configured to implement the methods for transmitting data as described above.
  • the computer equipment may be a control device or a controlled device, which is not limited in the embodiments of the present disclosure.
  • the computer device includes a central processing unit (CPU) 701, a system memory' 704 including a random-access memory 702 and a read-only memory 703, and a system bus 705 connecting the system memory’ 704 and the CPU 701.
  • CPU central processing unit
  • system memory' 704 including a random-access memory 702 and a read-only memory 703
  • system bus 705 connecting the system memory’ 704 and the CPU 701.
  • I/O system basic input/output system
  • mass storage device 707 for storing an operating system 713, an application 714 and other program modules 715.
  • the basic I/O system 706 includes a display 708 for displaying information and an input device 709 such as a mouse or a keyboard for users to input information.
  • the display 708 and the input device 709 are connected to the CPU 701 by an input/output controller 710 connected to the system bus 705.
  • the basic I/O system 706 may further include an input/output controller 710 for receiving and processing input from a plurality of other devices such as a keyboard, a mouse or an electronic stylus.
  • the input/output controller 710 further provides output to a display screen, a printer or other types of output devices.
  • the mass storage device 707 is connected to the CPU 701 by a mass storage controller (not shown) connected to the system bus 705.
  • "lire mass storage device 707 and its associated computer-readable medium provide non-volatile storage for tire computer device 700. That is, the mass storage device 707 may include a computer-readable medium (not shown) such as a hard disk or a drive.
  • tire computer-readable medium includes a computer storage medium and a communication medium.
  • the computer storage medium includes volatile and nonvolatile, removable and non-removable media implemented by any method or technology for storing information such as computer-readable instructions, data structures, program modules or other data.
  • the computer storage medium includes a random-access memory' (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory' (EEPROM), a flash memory’ or other solid-state storage technology, a compact disc read-only memory' (CD-ROM), a digital versatile disc (DVD) or other optical storage, a tape cartridge, a magnetic tape, a magnetic disk storage or other magnetic storage devices.
  • RAM random-access memory
  • ROM read-only memory
  • EPROM erasable programmable read-only memory
  • EEPROM electrically erasable programmable read-only memory'
  • flash memory or other solid-state storage technology
  • CD-ROM compact disc read-only memory
  • DVD digital versatile disc
  • the computer storage medium is not limited to the ones described above.
  • the system memory' 704 and the mass storage device 707 described above are collectively referred to as a memory'.
  • the computer device 700 may' also be connected to a remote computer on a network over the network, such as the internet, for operation. That is, the computer device 700 may be connected to the network 712 by a network interface unit 711 connected to the system bus 705, or may be connected to other types of networks or remote computer systems (not shown) by the network interface unit 711.
  • the memory further includes one or more computer programs.
  • the one or more computer programs are stored in the memory, and are configured to be executed by a processor to perform the methods for transmitting data described above.
  • a non-transitory computer-readable storage medium stores one or more computer programs therein, and the one or more computer programs, when executed by a processor, perform the methods for transmitting data described above.
  • the computer-readable storage medium includes a read-only memory' (ROM), a random-access memory (RAM), solid state drives (SSD), or optical disks.
  • the RAM may include resistance random-access memory (ReRAM) and dynamic random-access memory (DRAM).
  • a computer program product is further.
  • the computer program product when executed by a processor, performs the methods for transmitting data described above.
  • the term "a plurality' of herein refers to two or more.
  • "And/or” describes an association relationship of associated objects, indicating three kinds of relationships.
  • a and/or B can be expressed as: A exists alone, A and B exist concurrently, and B exists alone.
  • the character "/” generally indicates that the associated objects of an "or” relationship.
  • the serial number of steps in the description merely exemplarily shows a possible order of steps, and the steps may be not executed in the order shown in some other embodiments, for example, two steps in different serial numbers may be executed at the same time, or executed in an order contrary to the one as shown in the drawings, which is not limited in the embodiments of tire present disclosure.

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Embodiments of the present disclosure provide a method and apparatus for transmitting data, a device and a storage medium, relating to of Internet and computer technologies. The method includes: receiving a data upload instruction from a data receiving device; acquiring history data from locally stored information according to the range mark by using different information processing components; and uploading the history data to the data receiving device. According to the present disclosure, different information processing components are used to perform format conversion on information in different formats. Under different scenarios, by configuring different information processing components, history information can be successfully converted into the history data in an appropriate format. When the scenario changes, the information conversion scheme for the new scenario can be determined quickly. The technical solutions are easy to operate and can effectively improve the efficiency of uploading history data in changeable scenarios.

Description

METHOD AND APPARATUS FOR TRANSMITTING DATA,
DEVICE AND STORAGE MEDIUM
TECHNICAL FIELD
[0001] The present disclosure relates to the field of Internet and computer technologies, and in particular relates to a method and apparatus for transmitting data, a device and a storage medium.
BACKGROUND
[0002] Currently, data transmission between devices is quite common. When a data uploading device uploads data to a data receiving device, the data uploading device needs to convert the acquired information into data before uploading.
[0003] In the related art, information acquired in different scenarios are in different formats. Therefore, for a certain scenario, a corresponding information conversion scheme needs to be designed based on the format of tlie information acquired in the scenario. After acquiring the information, the data uploading device converts the information according to the conversion scheme designed in advance, to acquire the data to be uploaded and upload tire data to the data receiving device.
[0004] However, in tire above related art, when the scenario changes, a new information conversion scheme needs to be designed for the new scenario, resulting in cumbersome operation.
SUMMARY
[0005] Embodiments of the present disclosure provide a method and apparatus for transmitting data, a device and a storage medium, capable of improving the efficiency of uploading history7 date. The technical solutions are as follows.
[0006] In an aspect of the embodiments of the present disclosure, a method for transmitting data is provided. The method includes:
[0007] receiving a data upload instruction from a data receiving device, the data upload instruction comprising a range mark of data to be uploaded;
[0008] acquiring history data from locally stored information according to the range mark by using different information processing components, wherein different information processing components are configured to perform format conversion on information in different formats; and [0009] uploading the history data to the data receiving device.
[0010] In another aspect, an apparatus for transmitting data is provided. The apparatus includes: [0011] an instruction receiving module, configured to receive a data upload instruction from a data receiving device, wherein the data upload instruction comprises a range mark of data to be uploaded;
[0012] a data acquisition module, configured to acquire history data from locally stored information according to the range mark by using different information processing components, wherein different information processing components are configured to perform format conversion on information in different formats; and
[0013] a data uploading module, configured to upload the history data to the data receiving device.
[0014] In stil l another aspect of the embodiments of the present disclosure, a computer device is provided. The computer device includes a processor and a memory'. Tire memory' stores one or more computer programs that, when loaded and executed by the processor, cause the computer device to perform the method for transmitting data.
[0015] In some embodiments, the computer device is a data uploading device.
[0016] In still another aspect of the embodiments of the present disclosure, a non-transitory computer-readable storage medium is provided. The non-transitory computer-readable storage medium stores one or more computer programs, wherein one or more computer programs, when executed by a processor, cause a computer device to perform the method for transmitting data.
[0017] In still another aspect of the embodiments of the present disclosure, a computer program product is provided. The computer program product, when running, causes a computer device to perform the method for transmitting data.
[0018] The technical solutions provided by embodiments of the present disclosure at least may' have the following beneficial effects.
[0019] By configuring different information processing components, history' information can be successfully converted into the history' data in an appropriate format. When the scenario changes, the information conversion scheme for the new' scenario can be determined quickly. The technical solutions are easy to operate and can effectively improve the efficiency of uploading history data in changeable scenarios.
BRIEF DESCRIPTION OF THE DRAWINGS
[0020] For clearer descriptions of the technical solutions in the embodiments of the present disclosure, the following briefly introduces the accompanying drawings required for describing the embodiments. The accompanying drawings in the following description show merely some embodiments of the present disclosure, and a person of ordinary' skill in the art may still derive other drawings from these accompanying drawings without creative effort.
[0021] FIG. 1 is a schematic diagram of a system for transmitting data according to some embodiments of the present disclosure;
[0022] FIG. 2 is a schematic diagram of a manner for transmitting data according to an example embodiment;
[0023] FIG. 3 is a flowchart of a method for transmitting data according to some embodiments of the present disclosure;
[0024] FIG. 4 is a schematic diagram of another manner for transmitting data according to an example embodiment;
[0025] FIG. 5 is a block diagram of an apparatus for transmitting data according to some embodiments of the present disclosure;
[0026] FIG. 6 is a block diagram of another apparatus for transmitting data according to some embodiments of the present disclosure; and
[0027] FIG. 7 is a schematic structural diagram of a computer device according to some embodiments of the present disclosure.
DETAILED DESCRIPTION
[0028] The embodiments of the present disclosure will be described in further detail with reference to the accompanying drawings, to present the objectives, technical solutions, and advantages of the present disclosure more clearly.
[0029] FIG. 1 is a schematic diagram of a system for transmitting data according to some embodiments of the present disclosure. Referring to FIG. 1 , the system for transmitting data includes a data uploading device 10 and a data receiving device 20.
[0030] Tire data uploading device 10 is configured to collect and upload data. In some embodiments, the data uploading device is an electronic device such as a mobile phone, a tablet computer, a game console, an e-book reader, a multimedia player, a wearable device, and a personal computer (PC). The data may be real-time data acquired in real time or history data acquired and stored previously.
[0031] The data receiving device 20 is configured to receive data from the data uploading device 10. The data receiving device 20 may be an electronic device such as a mobile phone, a tablet computer, a game console, an e-book reader, a multimedia player, a wearable device, and a personal computer (PC). It should be noted that the data uploading device 10 and the data receiving device 20 may be the same type of devices or different types of devices, which is not limited in the embodiments of the present disclosure. In some embodiments, the data receiving device 20 corresponds to one or more data uploading devices 10, that is, the data receiving device 20 receives data from different data uploading devices 10.
[0032] The data uploading device 10 transmits data to the data receiving device 20 through a network.
[0033] In the embodiments of the present disclosure, different data are transmitted over different data transmission channels. As shown in FIG. 2, the data uploading device 10 includes a task monitoring unit 11. After receiving a data upload instraction from the data receiving device 20, the task monitoring unit 11 acquires history data stored locally through a data reading unit 12 in data uploading device 10. Then, the data uploading device 10 uploads the history data to the data receiving device 20 over a history data transmission channel, and uploads the real-time data to the data receiving device 20 over a real-time data transmission channel at the same time.
[0034] FIG . 3 is a flowchart of a method for transmitting data according to some embodiments of the present disclosure. This method is applied to the data uploading device 10 in the system for transmitting data shown in FIG. 1. Referring to FIG. 3, the method includes the following steps (301-303).
[0035] In step 301, a data upload instraction from a data receiving device is received.
[0036] The data upload instruction instructs the data uploading device to upload data to the data receiving device, lire data may be real-time data acquired in real time or history data stored locally. In the embodiments of the present disclosure, the data uploading device receives the data upload instruction from the data receiving device before uploading the data to the data receiving device.
[0037] In some embodiments, the data upload instraction includes a range mark of the data to be uploaded. The range mark is a search range of the history data.
[0038] In some embodiments, the data upload instruction is a response instruction to a data transmission request. In an example embodiment, step 301 includes the following steps.
[0039] I. The data transmission request is sent to the data receiving device in the case that no response information is received from the data receiving device within a target duration of time.
[0040] In some embodiments, after loading data to the data receiving device, the data uploading device can receive response information to the uploaded data from the data receiving device. The response information includes the verification information. The data uploading device determines whether the data receiving device successfully and correctly receives the uploaded data based on the verification information.
[0041] In the embodiments of the present disclosure, the data uploading device sends a data transmission request to the data receiving device in the case that the data uploading device does not receive tire response information from the data receiving device within a target duration of time. The target duration of time is a certain duration of time after the data is uploaded. Tire target duration of time may be set and adjusted flexibly according to actual situations, which is not limited in the embodiments of the present disclosure.
[0042] In the embodiments of the present disclosure, the data transmission request includes a period corresponding to the target duration of time. After receiving the data transmission request, the data receiving device generates the data upload instruction in the case that the data transmission request meets a condition. The condition is a judgment condition for a current data transmission environment. After acquiring tire data transmission request, the data receiving device determines that the data receiving device itself fails to receive the correct data within the period corresponding to the target duration of time, and repairs data transmission malfunction. After repairing the data transmission malfunction, the data receiving device determines that the current data transmission environment meets tire condition, determines the search range of the history7 data which is not received successfully based on the corresponding period of the target duration of time, and generates the data upload instruction.
[0043] It should be noted that in an example embodiment, in the case that the data uploading device determines based on the verification information that the data receiving device fails to receive the correct data, the data uploading device may also send the data transmission request to the data receiving device. In some embodiments, the data transmission request also includes a first identifier or a second response identifier. The first response identifier indicates that the data uploading device does not receive the response information, and the second response identifier indicates that the data uploading device receives wrong response information.
[0044] 2. Tire data upload instruction is received from the data receiving device.
[0045] In the embodiments of the present disclosure, after generating the data upload instruction, the data receiving device sends the data upload instruction to the data uploading device, and accordingly, the data uploading device receives the data upload instruction from the data receiving device.
[0046] In step 302, history data is acquired from the locally stored information according to the range mark by using different information processing components.
[0047] In the embodiments of the present disclosure, after receiving the data upload instruction, the data uploading device acquires history data from the locally stored information according to the range mark by using different information processing components in the data upload instruction. Different information processing components are configured to perform format conversion on information in different formats.
[0048] In some embodiments, different information processing components are connected in series or in parallel. For example, it's assumed that different information processing components include a first information processing component, a second information processing component, a third information processing component, and a fourth information processing component; and the first information processing component is configured to convert history information A into history information B, the second information processing component is configured to convert history information B into history information C, the third information processing component is configured to convert history7 information C into history information D, and the fourth information processing component is configured to convert history7 information D into history data. In this case, the first information processing component is connected in series with the second information processing component, and the second information processing component is connected in series with the third information processing component, that is, the first information processing component, the second information processing component and the third information processing component form a complete series chain. In addition, the fourth information processing component is connected in parallel with the series chain formed by the first information processing component, the second information processing component and the third information processing component.
[0049] In step 303, history data is uploaded to the data receiving device.
[0050] In tire embodiments of the present disclosure, after acquiring tire hi story data, the data uploading device uploads tire history data to the data receiving device. In some embodiments, when uploading the history data, the data uploading device acquires real-time data and uploads the real-time data and history7 data in parallel to the data receiving device. The real-time data is generated after the history7 data.
[0051] In some embodiments, when uploading the real-time data and the history7 data in parallel, the data uploading device uploads the real-time data to the data receiving device over the real-time data transmission channel, and uploads the history7 data to tire data receiving device over the history7 data transmission channel.
[0052] It should be noted that the real-time data may be generated after the history7 data, that is, the generation time of the real-time data is after the generation time of the history data. Alternatively, the real-time data may be generated after the history7 data and within the range indicated by the range mark.
[0053] In a possible implementation, the real-time data is generated after the history data. In some embodiments, when the data uploading device acquires the real-time data, the data uploading device acquires candidate data generated after the history7 data, and determines the candidate data as the real-time data.
[0054] In another possible implementation, the real-time data is generated after the history data and within the range indicated by the range mark. In some embodiments, when the data uploading device acquires the real-time data, the data uploading device acquires the candidate data generated after the history data, and determines the candidate data satisfying the range mark in the candidate data as real-time data.
[0055] It should be noted that in the embodiments of the present disclosure, the data uploading device may acquire data from different sources. For example, as shown in FIG. 4, the data uploading device acquires data from a first source, a second source, and a third source and uploads the data from different sources to the data receiving device over the real-time data transmission channel and the history data transmission channel.
[0056] In summan', according to the technical solutions in the embodiments of the present disclosure, different information processing components are used to perform format conversion on information in different formats. Under different scenarios, by configuring different information processing components, history information can be successfully converted into the history' data in an appropriate format. When the scenario changes, tire information conversion scheme for the new' scenario can be determined quickly. The technical solutions are easy to operate and can effectively improve the efficiency of uploading history' data in changeable scenarios.
[0057] The manner of acquiring history data is described as follows.
[0058] In an example embodiment, step 302 includes the following steps.
[0059] 1. History information satisfying the range mark is acquired from the locally stored data.
[0060] In embodiments of the present disclosure, after receiving the data upload instruction, the data uploading device acquires the history' information satisfying the range mark from the locally stored data according to the range mark of the data upload instraction.
[0061] In a possible implementation, the range mark includes a period mark. When acquiring the history' information, the data uploading device acquires the history information from the locally' stored data according to the period mark. The history' information is generated w'ithin the period indicated by the period mark.
[0062] In another possible implementation, the range mark includes a source mark. When acquiring the history information, the data uploading device acquires the history information from the locally stored data according to the source mark. The history information is from the source indicated by the source mark.
[0063] In still another possible implementation, the range mark includes an association mark. When acquiring the history' information, tire data uploading device acquires the history information from the locally stored data according to the association mark. The history information is information of an associated item indicated by the association mark. [0064] Certainly, in example embodiments, the range mark may also include two or more of the period mark, source mark or association mark, which is not limited in the embodiments of the present disclosure.
[0065] 2. The history information is converted into the format corresponding to the data to be uploaded by using different information processing components to acquire the history data.
[0066] hi the embodiments of the present disclosure, after acquiring the history information, the data uploading device converts the history' information into the format corresponding to the data to be uploaded by using different information processing components to acquire the history' data.
[0067] In a possible implementation, when acquiring the history' data, the data uploading device performs format conversion on the history' information in different formats by using different information processing components to acquire the history' data.
[0068] In another possible implementation, when acquiring the history' data, the data uploading device acquires a connection order of the information processing components, and performs format conversion on the history' information by taking the connection order as the order of processing the history information, to acquire the history' data.
[0069] The following introduces the apparatus embodiments of the present disclosure, which are applicable to implementing the method embodiments of the present disclosure. For details not disclosed in the apparatus embodiments, please refer to the method embodiments of the present disclosure.
[0070] FIG. 5 is a block diagram of an apparatus for transmitting data according to some embodiments of the present disclosure. The apparatus has the function of implementing foregoing the method for transmitting data, and the function may' be implemented by hardware or by software executed by corresponding hardware. The apparatus may be a data uploading device or configured in the data uploading device. Referring to FIG. 5, the apparatus 500 includes an instruction receiving module 510, a data acquisition module 520 and a data uploading module 530. [0071] The instruction receiving module 510 is configured to receive a data upload instruction from the data receiving device. The data upload instruction includes a range mark of data to be uploaded.
[0072] The data acquisition module 520 is configured to acquire history data from locally' stored information by using different information processing components. Different information processing components are configured to perform formation conversion on information in different formats.
[0073] The data uploading module 530 is configured to upload the history' data to the data receiving device. [0074] In the example embodiments, as shown in FIG . 6, the data acquisition module 520 includes an information acquisition unit 521 and an information conversion unit 522.
[0075] The information acquisition unit 521 is configured to acquire history information satisfying the range mark from the locally stored data.
[0076] The information conversion unit 522 is configured to convert the history information into the format corresponding to the data to be uploaded by using different information processing components to acquire the history data.
[0077] In example embodiments, the information conversion unit 522 is configured to perform format conversion on the history information in different formats by using different information processing components to acquire the history' data; or, acquire a connection order of the information processing components; and perform format conversion on the history information by taking the connection order as an order of processing the history' information to acquire the history' data.
[0078] In example embodiments, in the case that the range mark includes a period mark, the information acquisition unit 521 is configured to acquire the history information from the locally stored data according to the period mark. The history information is generated within the period indicated by the period mark. Alternatively, in the case that the range mark includes a source mark, the information acquisition unit 521 is configured to acquire the history information from the locally' stored data according to tire source mark. The history information is from the source indicated by the source mark. Alternatively, in the case that the range mark includes an association mark, the information acquisition unit 521 is configured to acquire the history' information from the locally stored data according to association mark. The history' information is information of an associated item indicated by the association mark.
[0079] In example embodiments, as shown in FIG. 6, the data uploading module 530 includes a data acquisition unit 531 and a data uploading unit 532.
[0080] Tire data acquisition unit 531 is configured to acquire real-time data. The real-time data is generated after the history data.
[0081] The data uploading unit 532 is configured to upload the real-time data and the history data to the data receiving device in parallel.
[0082] hi example embodiments, the data uploading unit 532 is configured to upload the real-time data to the data receiving device over a real-time data transmission channel; and upload the historydata to die data receiving device over a history- data transmission channel.
[0083] In example embodiments, the instraction receiving module 510 is configured to send a data transmission request to the data receiving device in the case that no response information is received from the data receiving device within a target duration of time. The data transmission request includes a period corresponding to the target duration of time, and the data receiving device generates the data upload instruction in the case that the data transmission request meets the condition. The instruction receiving module 510 is further configured to receive the data upload instruction from the data receiving device.
[0084] In summary', according to the technical solutions in the embodiments of the present disclosure, different information processing components are used to perform format conversion on information in different formats. Under different scenarios, by configuring different information processing components, history information can be successfully converted into the history data in an appropriate format. When the scenario changes, the information conversion scheme for the new scenario can be determined quickly. The technical solutions are easy to operate and can effectively improve the efficiency of uploading history' data in changeable scenarios.
[0085] FIG. 7 is a block diagram of a computer device according to some embodiments of the present disclosure. The computer equipment may be configured to implement the methods for transmitting data as described above. The computer equipment may be a control device or a controlled device, which is not limited in the embodiments of the present disclosure.
[0086] The computer device includes a central processing unit (CPU) 701, a system memory' 704 including a random-access memory 702 and a read-only memory 703, and a system bus 705 connecting the system memory’ 704 and the CPU 701. lire computer device 700 further includes a basic input/output system (I/O system) 706 that facilitates information transmission between various components in a computer, and a mass storage device 707 for storing an operating system 713, an application 714 and other program modules 715.
[0087] The basic I/O system 706 includes a display 708 for displaying information and an input device 709 such as a mouse or a keyboard for users to input information. The display 708 and the input device 709 are connected to the CPU 701 by an input/output controller 710 connected to the system bus 705. The basic I/O system 706 may further include an input/output controller 710 for receiving and processing input from a plurality of other devices such as a keyboard, a mouse or an electronic stylus. Similarly, the input/output controller 710 further provides output to a display screen, a printer or other types of output devices.
[0088] The mass storage device 707 is connected to the CPU 701 by a mass storage controller (not shown) connected to the system bus 705. "lire mass storage device 707 and its associated computer-readable medium provide non-volatile storage for tire computer device 700. That is, the mass storage device 707 may include a computer-readable medium (not shown) such as a hard disk or a drive. [0089] Without loss of generality, tire computer-readable medium includes a computer storage medium and a communication medium. The computer storage medium includes volatile and nonvolatile, removable and non-removable media implemented by any method or technology for storing information such as computer-readable instructions, data structures, program modules or other data. The computer storage medium includes a random-access memory' (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory' (EEPROM), a flash memory’ or other solid-state storage technology, a compact disc read-only memory' (CD-ROM), a digital versatile disc (DVD) or other optical storage, a tape cartridge, a magnetic tape, a magnetic disk storage or other magnetic storage devices. Certainly, persons skilled in the art may’ appreciate that the computer storage medium is not limited to the ones described above. The system memory' 704 and the mass storage device 707 described above are collectively referred to as a memory'.
[0090] In various embodiments of the present disclosure, the computer device 700 may' also be connected to a remote computer on a network over the network, such as the internet, for operation. That is, the computer device 700 may be connected to the network 712 by a network interface unit 711 connected to the system bus 705, or may be connected to other types of networks or remote computer systems (not shown) by the network interface unit 711.
[0091] The memory further includes one or more computer programs. The one or more computer programs are stored in the memory, and are configured to be executed by a processor to perform the methods for transmitting data described above.
[0092] In example embodiments, a non-transitory computer-readable storage medium is also provided. The non-transitory' computer-readable storage medium stores one or more computer programs therein, and the one or more computer programs, when executed by a processor, perform the methods for transmitting data described above.
[0093] Optionally, the computer-readable storage medium includes a read-only memory' (ROM), a random-access memory (RAM), solid state drives (SSD), or optical disks. The RAM may include resistance random-access memory (ReRAM) and dynamic random-access memory (DRAM).
[0094] In example embodiments, a computer program product is further. The computer program product, when executed by a processor, performs the methods for transmitting data described above.
[0095] It is to be understood that the term "a plurality' of herein refers to two or more. "And/or" describes an association relationship of associated objects, indicating three kinds of relationships. For example, A and/or B can be expressed as: A exists alone, A and B exist concurrently, and B exists alone. The character "/" generally indicates that the associated objects of an "or" relationship. In addition, the serial number of steps in the description merely exemplarily shows a possible order of steps, and the steps may be not executed in the order shown in some other embodiments, for example, two steps in different serial numbers may be executed at the same time, or executed in an order contrary to the one as shown in the drawings, which is not limited in the embodiments of tire present disclosure.
[0096] Described above are merely optional embodiments of the present disclosure, and are not intended to limit the present disclosure. Within the spirit and principles of the present disclosure, any modifications, equivalent substitutions, improvements, and the like are within the protection scope of the present disclosure.

Claims

CLAIMS What is claimed is:
1. A method for transmitting data, comprising: receiving a data upload instruction from a data receiving device, the data upload instruction comprising a range mark of data to be uploaded; acquiring history data from locally stored information according to the range mark by using different information processing components, wherein different information processing components are configured to perform format conversion on information in different formats; and uploading the history data to the data receiving device.
2. The method according to claim 1, wherein acquiring the history data from the locally stored information according to the range mark by using different information processing components comprises: acquiring history information satisfying the range mark from the locally stored data; converting the history information into a format corresponding to the data to be uploaded by using different information processing components to acquire the history data.
3. The method according to claim 2, wherein converting the history information into the format corresponding to the data to be uploaded by using different information processing components to acquire the history data comprises: performing format conversion on the history information in different formats by using different information processing components to acquire the history data; or acquiring a connection order of the information processing components; and performing format conversion on the history information by taking the connection order as an order of processing the history information to acquire the history data.
4. The method according to claim 2, wherein acquiring the history information satisfying the range mark from the locally stored data comprises: in a case that the range mark comprises a period mark, acquiring the history information from the locally stored data according to the period mark, wherein the history information is generated within a period indicated by the period mark; or in a case that the range mark comprises a source mark, acquiring the history information from the locally stored data according to the source mark; wherein the history information is from a source indicated by the source mark; or in a case that the range mark comprises an association mark, acquiring the history information from the locally stored data according to the association mark, wherein the history information is information of an associated item indicated by the association mark.
5. The method according to any one of claims 1 to 4, wherein uploading the history data to the data receiving device comprises: acquiring real-time data, wherein the real-time data is generated after the history data; and uploading the real-time data and the history data to the data receiving device in parallel.
6. The method according to claim 5, wherein uploading the real-time data and the history data to the data receiving device in parallel comprises: uploading the real-time data to the data receiving device over a real-time data transmission channel; and uploading the history data to the data receiving device over a history data transmission channel.
7. The method according to any one of claims 1 to 4, wherein receiving the data upload instruction from the data receiving device comprises: in a case that no response information is received from the data receiving device within a target duration of time, sending a data transmission request to the data receiving device, wherein the data transmission request comprises a period corresponding to the target duration of time, and generating, by the data receiving device, the data upload instruction in response to the data transmission request meeting a condition; and receiving the data upload instruction from the data receiving device.
8. An apparatus for transmitting data, comprising: an instruction receiving module, configured to receive a data upload instruction from a data receiving device, wherein the data upload instruction comprises a range mark of data to be uploaded; a data acquisition module, configured to acquire history data from locally stored information according to the range mark by using different information processing components, wherein different information processing components are configured to perform format conversion on information in different formats; and a data uploading module, configured to upload the history data to the data receiving device.
9. A computer device, comprising a processor and a memory, wherein the memory stores one or more computer programs that, when loaded and executed by the processor, cause the computer device to perform the method as defined in any one of claims 1 to 7.
10. A non-transitory computer-readable storage medium storing one or more computer programs, wherein one or more computer programs, when executed by a processor, cause a computer device to perform the method as defined in any one of claims 1 to 7.
PCT/SG2022/050800 2022-04-11 2022-11-04 Method and apparatus for transmitting data, device and storage medium WO2023200395A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210375050.2A CN114860824A (en) 2022-04-11 2022-04-11 Data transmission method, device, equipment and storage medium
CN202210375050.2 2022-04-11

Publications (1)

Publication Number Publication Date
WO2023200395A1 true WO2023200395A1 (en) 2023-10-19

Family

ID=82630257

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/SG2022/050800 WO2023200395A1 (en) 2022-04-11 2022-11-04 Method and apparatus for transmitting data, device and storage medium

Country Status (2)

Country Link
CN (1) CN114860824A (en)
WO (1) WO2023200395A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015027430A1 (en) * 2013-08-29 2015-03-05 宇龙计算机通信科技(深圳)有限公司 Server and file sharing method
US20160212023A1 (en) * 2013-08-26 2016-07-21 Telefonaktiebolaget L M Ericsson (Publ) Apparatus and method for processing data streams in a communication network
US20210279254A1 (en) * 2019-05-05 2021-09-09 Tencent Technology (Shenzhen) Company Limited Data replication method and apparatus, computer device, and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160212023A1 (en) * 2013-08-26 2016-07-21 Telefonaktiebolaget L M Ericsson (Publ) Apparatus and method for processing data streams in a communication network
WO2015027430A1 (en) * 2013-08-29 2015-03-05 宇龙计算机通信科技(深圳)有限公司 Server and file sharing method
US20210279254A1 (en) * 2019-05-05 2021-09-09 Tencent Technology (Shenzhen) Company Limited Data replication method and apparatus, computer device, and storage medium

Also Published As

Publication number Publication date
CN114860824A (en) 2022-08-05

Similar Documents

Publication Publication Date Title
CN111414334B (en) File fragment uploading method, device, equipment and storage medium based on cloud technology
WO2020186783A1 (en) Data importing method and apparatus, and computer device and storage medium
CN110554930B (en) Data storage method and related equipment
EP3190775A1 (en) Cloud data backup and recovery method
CN109799948B (en) Data storage method and device
US9843619B2 (en) System and method for accessing disk image files using HTML5 KVM/vmedia client running in a web browser
CN104268055A (en) Program exception monitoring method and device
CN104866249A (en) 3D printing data generation method, processing system and 3D drawing file printing method
CN110597714B (en) Test method and device of kafka message, computer equipment and storage medium
CN109101664B (en) Data transmission method, device, equipment and medium for lightweight node
CN108965383B (en) File synchronization method and device, computer equipment and storage medium
CN109766422A (en) Information processing method, apparatus and system, storage medium, terminal
CN110120989A (en) A kind of method and system realized equipment room and distribute match address automatically
CN112311902B (en) File sending method and device based on micro-service
CN111104139A (en) Firmware upgrading method, device, equipment and storage medium
CN113127307A (en) Method for processing tracing request, related device, system and storage medium
CN108280020A (en) Monitoring method, device, terminal and the computer storage media of computer equipment
CN114092252A (en) Block chain transaction execution method, device, equipment and readable storage medium
WO2023200395A1 (en) Method and apparatus for transmitting data, device and storage medium
CN111400581B (en) System, method and apparatus for labeling samples
CN112286890A (en) Method and equipment for synchronizing revision information of target document
EP3349416A1 (en) Relationship chain processing method and system, and storage medium
CN102541850A (en) Methods and devices and systems for obtaining and uploading log records
WO2021218626A1 (en) Data storage method and apparatus, device, and storage medium
CN114499880A (en) Method and device for transmitting operation and maintenance data of gas turbine

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22937610

Country of ref document: EP

Kind code of ref document: A1