CN114553857A - Data transmission method and device, wrist-worn equipment and medium - Google Patents

Data transmission method and device, wrist-worn equipment and medium Download PDF

Info

Publication number
CN114553857A
CN114553857A CN202210089182.9A CN202210089182A CN114553857A CN 114553857 A CN114553857 A CN 114553857A CN 202210089182 A CN202210089182 A CN 202210089182A CN 114553857 A CN114553857 A CN 114553857A
Authority
CN
China
Prior art keywords
data
memory
service terminal
processing
nth
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202210089182.9A
Other languages
Chinese (zh)
Inventor
李恩祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xi'an Goltech Electronic Technology Co ltd
Original Assignee
Xi'an Goltech Electronic Technology 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 Xi'an Goltech Electronic Technology Co ltd filed Critical Xi'an Goltech Electronic Technology Co ltd
Priority to CN202210089182.9A priority Critical patent/CN114553857A/en
Publication of CN114553857A publication Critical patent/CN114553857A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The invention discloses a data transmission method, a data transmission device, wrist-worn equipment and a medium, wherein the method comprises the following steps: processing the (N-1) th data stored in the memory; receiving and storing Nth data in the memory during the process of processing the N-1 th data; wherein the Nth data is transmitted by the service terminal through at least one data packet; when the processing of the N-1 th data is finished, continuing to start the processing of the N-1 th data, and releasing a memory space of the memory corresponding to the N-1 th data; under a first preset occasion in the process of processing the Nth data, sending an (N + 1) th instruction for requesting to transmit the (N + 1) th data to the service terminal, and receiving and storing the (N + 1) th data transmitted by the service terminal in response to the (N + 1) th instruction in the released memory space; wherein the N +1 th data is transmitted by the service terminal through at least one data packet.

Description

Data transmission method and device, wrist-worn equipment and medium
Technical Field
The present invention relates to the field of data transmission, and more particularly, to a method and an apparatus for data transmission, a wrist-worn device, and a medium.
Background
With the increasing use of portable devices in schedule work and life, such as smart wearable devices, wrist-worn devices, and the like. The use scenes of data interaction between the short-distance communication devices according to the protocol are more and more extensive, and the file data of the short-distance protocol data interaction is more and more large along with the evolution of the intelligent portable device, so that the requirement on the transmission timeliness of the ultra-large file short-distance protocol is higher and higher, the transmission file is large, and the transmission speed is more and more an urgent requirement on the market.
In summary, for the scenario of big data transmitted by short-distance protocol, a new data transmission method suitable for protocol transmission of the very large file of the embedded device to improve the transmission efficiency needs to be provided.
Disclosure of Invention
An object of the embodiments of the present invention is to provide a new technical solution for data transmission.
According to a first aspect of the present invention, there is provided a method for data transmission, the method being applied to one side of a wrist-worn device, the wrist-worn device having a memory, the method comprising the steps of:
processing the (N-1) th data stored in the memory;
receiving and storing Nth data in the memory during the process of processing the N-1 th data; wherein the Nth data is transmitted by the service terminal through at least one data packet;
when the processing of the N-1 th data is finished, continuing to start the processing of the N-1 th data, and releasing a memory space of the memory corresponding to the N-1 th data;
under a first preset occasion in the process of processing the Nth data, sending an (N + 1) th instruction for requesting to transmit the (N + 1) th data to the service terminal, and receiving and storing the (N + 1) th data transmitted by the service terminal in response to the (N + 1) th instruction in the released memory space; wherein the N +1 th data is transmitted by the service terminal through at least one data packet.
Optionally, before the processing the N-1 th data stored in the memory, the method further comprises:
sending an N-1 instruction for requesting transmission of the N-1 data to the service terminal;
receiving and storing in the memory the N-1 th data transmitted by the service terminal in response to the N-1 th instruction; wherein the N-1 data is transmitted by the service terminal through at least one data packet;
and sending an Nth instruction for requesting to transmit the Nth data to the service terminal at a second preset time in the process of receiving and storing the N-1 th data in the memory.
Optionally, in the transmission of the nth data by the service terminal through at least one data packet, the data packet has an identifier corresponding to the nth data.
Optionally, in the step of sending an N +1 th instruction requesting transmission of N +1 th data to the service terminal, the N +1 th instruction carries an identifier.
Optionally, the first predetermined timing is:
a point in time at which the wrist-worn device begins processing the Nth data.
Optionally, the first predetermined timing is:
the wrist-worn device is at any point in time between the start of processing the Nth data and the completion of processing.
Optionally, the second predetermined timing is:
a point in time at which the wrist-worn device receives and stores a first data packet of the N-1 th data in the memory; or
Any point in time after the wrist-worn device receives and stores the first data packet of the N-1 data in the memory and before the last data packet.
According to a second aspect of the present invention, there is also provided an apparatus for use with a wrist-worn device, comprising:
the data processing module is used for processing the (N-1) th data stored in the memory;
the data receiving module is used for receiving and storing the Nth data in the memory in the process of processing the Nth-1 data by the data processing module; wherein the nth data is transmitted by the service terminal through at least one data packet;
when the data processing module finishes processing the N-1 th data, continuously starting to process the N-1 th data and releasing the memory space of the memory corresponding to the N-1 th data;
an instruction sending module, configured to send, to the service terminal, an N +1 th instruction requesting transmission of an N +1 th data at a first predetermined time in a process of processing the nth data by the data processing module, and the data receiving module is configured to receive and store, in the released memory space, the N +1 th data transmitted by the service terminal in response to the N +1 th instruction; wherein the N +1 th data is transmitted by the service terminal through at least one data packet.
According to a third aspect of the present invention, there is also provided a wrist-worn device comprising a memory for storing executable instructions and a processor; the processor is configured to perform the data transmission method according to the first aspect of the invention under control of the instructions.
According to a fourth aspect of the present invention, there is also provided a computer-readable storage medium, on which a computer program is stored which, when executed by a processor, implements the data transmission method according to any one of the first aspects of the present invention.
The method, the device and the wrist-worn equipment have the advantages that the defects of low speed and poor user experience of short-distance transmission of the oversized files are effectively overcome, and the resource utilization rate and the file transmission efficiency are improved.
Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a hardware composition of a method for data transmission between a wrist-worn device and a service terminal according to an embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating a data interaction process between a conventional wrist-worn device and a service terminal;
FIG. 3 is a flow chart illustrating a data transmission method according to an embodiment of the invention;
FIG. 4 is a flow diagram illustrating data transmission interaction according to an embodiment of the invention;
FIG. 5 is a functional block diagram of a hardware configuration of a wrist-worn device according to an embodiment of the present invention;
fig. 6 is a schematic block diagram of a hardware structure of a wrist-worn device according to another embodiment of the present invention.
Detailed Description
Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as exemplary only and not as limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
< hardware configuration >
Fig. 1 is a schematic diagram of a component structure of a communication system 100 according to an embodiment of the present invention.
As shown in fig. 1, the communication system 100 of the present embodiment includes a service terminal 1000 and a wrist-worn device 2000.
The service terminal 1000 provides a service point for processing, database, and communication facilities. The service terminal 1000 may be a mobile phone, a PC, a laptop, a tablet PC, a palmtop, etc. In some embodiments, each service terminal may include hardware, software, or embedded logic components or a combination of two or more such components for performing the appropriate functions supported or implemented by the service terminal.
In one embodiment, the service terminal 1000 can be as shown in FIG. 1, including a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, a display device 1500, an input device 1600.
In this embodiment, the service terminal 1000 may further include a speaker, a microphone, and the like, which are not limited herein.
The processor 1100 may be a dedicated service terminal processor, or may be a desktop processor, a mobile version processor, or the like that meets performance requirements, and is not limited herein. The memory 1200 includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. The interface device 1300 includes, for example, various bus interfaces such as a serial bus interface (including a USB interface), a parallel bus interface, and the like. The communication apparatus 1400 is capable of wired or wireless communication, and the communication apparatus 1400 is capable of communicating at least based on a protocol so as to be capable of implementing at least the data transmission method of any of the embodiments of the present invention. The display device 1500 is, for example, a liquid crystal display, an LED display touch panel, or the like. The input device 1600 may include, for example, a touch screen, a keyboard, a somatosensory input, and the like. The speaker 1700 and the microphone 1800 can be used for inputting/outputting voice information.
Although a plurality of devices of the service terminal 1000 are shown in fig. 1, the present invention may only relate to some of the devices, for example, the service terminal 1000 only relates to the memory 1200, the communication device 1400 and the processor 1100.
The wrist-worn device 2000 may be, for example, an embedded device such as a smart watch, other wearable device, or the like.
In one embodiment, wrist-worn device 2000 may be as shown in fig. 1, including a processor 2100, a memory 2200, an interface device 2300, a communication device 2400, a display device 2500, an input device 2600, a speaker 2700, a microphone 2800, and so forth.
The processor 2100 may be a microprocessor MCU, a central processing unit CPU, or the like. The memory 2200 includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. The interface device 2300 includes, for example, a USB interface, a headphone interface, and the like. The communication device 2400 is capable of wired or wireless communication, and the communication device 1400 is capable of communicating based on at least a short-range protocol, so as to be capable of implementing at least the data transmission method of any of the embodiments of the present invention. The display device 2500 is, for example, a liquid crystal display panel, a touch panel, or the like. The input device 2600 may include, for example, a touch screen, a keyboard, a somatosensory input, and the like. The speaker 2700 and the microphone 2800 can be used for inputting/outputting voice information.
Although a plurality of apparatuses of the wrist-worn device 2000 are illustrated in fig. 1, the present invention may only relate to some of the apparatuses, for example, the wrist-worn device 2000 only relates to the communication apparatus 2400, the memory 2200, and the processor 2100.
The communication network 3000 may be a wireless communication network, and may also be a local area network or a wide area network.
In this embodiment, the service terminal 1000 and the wrist-worn device 2000 may perform data transmission based on a short-range protocol through the respective communication devices 1400 and 2400, and implement the data transmission method according to any embodiment of the present invention in the data transmission process.
< method examples >
Because the existing portable devices such as the wrist-worn device and the like generally have a small memory, for example, only M data packets transmitted for one data request can be stored, and data transmission between the wrist-worn device and the service terminal is in a serial manner, and is based on the request of the wrist-worn device, the service terminal only responds and replies data, and the service terminal does not actively transmit data to the wrist-worn device when the data request of the wrist-worn device is not received. Therefore, in a case that the wrist-worn device and the service terminal perform data interaction, generally, the wrist-worn device sends an instruction for requesting first data to the service terminal, the service terminal responds and replies M data packets for the first data request, after the wrist-worn device receives the M data packets replied by the service terminal, the wrist-worn device processes the first data, and at this time, the service terminal waits for the instruction for requesting second data of the wrist-worn device. And after the wrist-worn device finishes processing the first data, the wrist-worn device sends a request instruction of second data, the service terminal responds and replies, and the data interaction process is carried out in a circulating manner. Fig. 2 is a schematic flow chart illustrating data interaction between the conventional wrist-worn device 200 and the service terminal 300.
In the above interaction flow, when the wrist-worn device processes the first data, the service terminal is in an idle waiting state, and when the wrist-worn device processes the first data and sends the second data request, the service terminal does not start interacting with the wrist-worn device, which is not beneficial to the utilization of the service terminal. The method mainly utilizes the waiting time of the service terminal by expanding the memory of the wrist-worn device and optimizing the data request instruction sending time of the wrist-worn device, thereby improving the effect of short-distance protocol transmission of big data between the wrist-worn device and the service terminal.
As shown in fig. 3, the data transmission method according to an embodiment of the present invention may include the following steps S310 to S340:
step S310, processing the N-1 data stored in the memory.
In order to improve the transmission efficiency and fully utilize the waiting time of the service terminal, the memory of the wrist-worn device can be firstly expanded to the original fixed multiple, for example, the original memory can store M data packets, and the memory is expanded to store 2M data packets. Therefore, the nth-1 data is referred to as the nth data and the (N + 1) th data, and refers to three data that exist sequentially, wherein the nth-1 data and the nth data may be stored at the same time on the wrist-worn device side, and similarly, the nth data and the (N + 1) th data may also exist at the same time.
In this embodiment, before the processing the N-1 th data stored in the memory, the method further includes sending an N-1 th instruction requesting transmission of the N-1 th data to the service terminal; receiving and storing in the memory the N-1 th data transmitted by the service terminal in response to the N-1 th instruction; wherein the N-1 data is transmitted by the service terminal through at least one data packet; and sending an Nth instruction for requesting to transmit the Nth data to the service terminal at a second preset time in the process of receiving and storing the N-1 th data in the memory. For example, the wrist-worn device is a smart watch, and sends an instruction for requesting transmission of a specific song to a smart phone in a bluetooth mode.
In this embodiment, when the service terminal replies to the N-1 th command transmission request, the service terminal may reply the command response message first and then transmit the data packet of the N-1 th data.
In one embodiment, the second predetermined time is a time point when the first data packet of the N-1 th data is received and stored in the memory by the wrist-worn device. In order to improve the utilization rate of the service terminal and reduce the idle waiting time of the service terminal, the wrist-worn device sends an Nth instruction for requesting to transmit the Nth data to the service terminal when receiving and storing a first data packet of the Nth-1 data. The selection of the instruction sending time can greatly improve the utilization rate of the service terminal, and the service terminal receives the Nth instruction request for requesting to transmit the Nth data after the transmission of the first data packet of the Nth-1 data. Therefore, after the service terminal finishes transmitting all data packets of the (N-1) th data, the service terminal can immediately respond to the (N) th instruction request and transmit the data packets of the (N) th data.
In another embodiment, the second predetermined time may be any time point between the receiving and storing of the first data packet of the nth data and the last data packet of the nth data by the wrist-worn device, and the nth instruction requesting transmission of the nth data is sent to the service terminal. In the embodiment, in the process of receiving the data packet of the nth-1 data, the wrist-worn device can send the nth instruction requesting to transmit the nth data at any time point after the start and before the completion of the receiving, so that the idle waiting state of the service terminal when the wrist-worn device sends the nth instruction requesting to transmit the nth data after the N-1 data is processed and completed can be avoided, and the file transmission efficiency is improved.
Step S320, receiving and storing the Nth data in the memory in the process of processing the N-1 th data; wherein the Nth data is transmitted by the service terminal through at least one data packet.
In the embodiment, in the process of processing the previous data, the next data is received and stored, so that the data transmission efficiency of the wrist-worn device and the service terminal is improved, and the idle waiting time of the service terminal is reduced.
In one embodiment, the nth data in step S320 is transmitted by the service terminal through at least one data packet having an identifier corresponding to the nth data.
In this embodiment, after the wrist-worn device receives the data packet corresponding to the nth data, because the utilization rate of the service terminal is improved, the data packets for the two data may be stored in the memory of the wrist-worn device at the same time. Thus, wrist-worn device differentiation is facilitated. The data packets of the nth data stored by the wrist-worn device are all provided with the identifiers corresponding to the nth data to mark that the data packets belong to the nth data, and for example, the identifiers can be offset addresses of the data packets and the like.
Similarly, after each data request, the data packet received and stored by the wrist-worn device has an identifier corresponding to the data, so as to distinguish the corresponding relationship between each data request and the received data packet, thereby facilitating the identification of the wrist-worn device.
Step S330, when the processing of the N-1 th data is completed, the processing of the N-1 th data is started continuously, and the memory space of the memory corresponding to the N-1 th data is released.
In this embodiment, after the wrist-worn device completes processing the N-1 th data, the nth data continues to be processed, and the memory releases the memory space corresponding to the N-1 th data, so that the memory has space to continue to receive and store the N +1 th data, and then the N +1 th data continues to be processed after the nth data is processed, thereby reducing the time for waiting for receiving and storing the N +1 th data, and improving the utilization efficiency of the device.
Step S340, sending an N +1 th instruction requesting transmission of an N +1 th data to the service terminal at a first predetermined time in the process of processing the nth data, and receiving and storing the N +1 th data transmitted by the service terminal in response to the N +1 th instruction in the released memory space; wherein the N +1 th data is transmitted by the service terminal through at least one data packet.
In this embodiment, in the process of processing the nth data by the wrist-worn device, that is, the N +1 th instruction transmission request of the N +1 th data is sent, and meanwhile, the data packet of the N +1 th data is stored in the space after the N-1 th data is released, so that the sending time of the data request instruction is advanced, which is beneficial to improving the utilization rate of the service terminal and the wrist-worn device, and avoiding the loss of data when the storage space is insufficient.
In one embodiment, in step S340, in the step of sending an N +1 th instruction requesting to transmit N +1 th data to the service terminal, the N +1 th instruction carries an identifier.
After the memory of the wrist-worn device is expanded to the original fixed multiple, each M data packets corresponding to two data can exist in the memory of the wrist-worn device at the same time, so that the wrist-worn device can distinguish which data packets correspond to one data and which data packets correspond to another data by using identifiers.
In this embodiment, the distinction can be made by attaching a flag to the (N + 1) th instruction of the (N + 1) th data. And after the service terminal receives the instruction request with the identification, correspondingly replying each data packet with the same identification. Therefore, when two different data packets corresponding to the data exist in the memory of the wrist-worn device at the same time, whether the data packet corresponds to the nth data or the data packet corresponds to the (N + 1) th data can be distinguished through the identification carried by each data packet.
The identification in the instruction identifies the instruction and the data packet sent by the service terminal, and simultaneously corresponds the data and the data packet through the identification according to the corresponding relation between the instruction and the data, so that the wrist-worn device can acquire the data packet corresponding to the data to be processed, and the efficiency is improved.
In one embodiment, the first predetermined timing in step S340 is a time point when the wrist-worn device starts to process the nth data. After the wrist-worn device finishes processing the (N-1) th data, the Nth data can be continuously processed, after the wrist-worn device starts to process the Nth data, an (N + 1) th instruction for requesting to transmit the (N + 1) th data is sent, the time for the wrist-worn device to process the Nth data is utilized to the maximum extent to transmit a data packet of the (N + 1) th data, the idle waiting time of the service terminal is shortened, the time for the wrist-worn device to wait for transmitting the data packet is shortened, and the utilization rate of the service terminal and the file transmission efficiency are improved.
In another embodiment, the first predetermined timing in step S340 may be any time point between the start of processing the nth data and the completion of the processing by the wrist-worn device. In this embodiment, in the process of starting processing the data packet of the nth data, the wrist-worn device may send the (N + 1) th instruction requesting transmission of the (N + 1) th data at any time point after starting processing and before finishing processing, which can reduce the idle waiting time of the service terminal and the data receiving time of the wrist-worn device when the wrist-worn device finishes processing the nth data and then sends the (N + 1) th instruction requesting transmission, thereby improving the file transmission efficiency.
A schematic flow chart of data interaction between the wrist-worn device 200 and the service terminal 300 according to the present invention in the latter embodiment is shown in fig. 4.
According to the data transmission method, the defects of low speed and poor user experience of short-distance transmission of the super-large files are effectively overcome, the resource utilization rate of the wrist-worn equipment and the service terminal is greatly improved, the data transmission can be improved by about one time under the condition of the best implementation mode, and the protocol-based transmission synergy of the super-large files is realized.
< apparatus embodiment >
In this embodiment, there is also provided a wrist-worn device 5000, which may also be a wrist-worn device 2000 as shown in fig. 1.
Referring to fig. 5, the wrist-worn device 5000 may include a memory 5100 for storing executable instructions, and a processor 5200; the processor 5200 is configured to perform a data transfer method according to any embodiment of the present invention under control of instructions.
In another embodiment, as shown in fig. 6, there is further provided an apparatus applied to a wrist-worn device 6000, where the wrist-worn device 6000 may include at least: an instruction sending module 6100, a data receiving module 6200, and a data processing module 6300.
A data processing module 6300 for processing the N-1 th data stored in the memory;
a data receiving module 6200, configured to receive and store the nth data in the memory during the processing of the nth-1 data by the data processing module 6300; wherein the Nth data is transmitted by the service terminal through at least one data packet;
when the data processing module 6300 finishes processing the nth-1 data, continuously starting to process the nth data and releasing a memory space of the memory corresponding to the nth-1 data;
an instruction sending module 6100, at a first predetermined time in the process of processing the nth data by the data processing module 6300, the instruction sending module 6100 is configured to send an N +1 th instruction requesting to transmit N +1 th data to the service terminal, and the data receiving module 6200 is configured to receive and store, in the released memory space, the N +1 th data transmitted by the service terminal in response to the N +1 th instruction; wherein the N +1 th data is transmitted by the service terminal through at least one data packet.
In one embodiment, before the data processing module 6300 processes the N-1 th data stored in the memory, the method further includes:
the command sending module 6100 sends an N-1 instruction requesting transmission of the N-1 data to the service terminal;
the data receiving module 6200 is configured to receive and store, in the memory, the N-1 th data transmitted by the serving terminal in response to the N-1 th instruction; wherein the N-1 data is transmitted by the service terminal through at least one data packet;
at a second predetermined time during the process that the data receiving module 6200 receives and stores the nth-1 data in the memory, the instruction sending module 6100 is configured to send an nth instruction requesting to transmit the nth data to the service terminal.
In one embodiment, the nth data is transmitted by the service terminal in at least one data packet having an identification corresponding to the nth data.
In an embodiment, in the step of sending, by the instruction sending module 6100, an N +1 th instruction requesting to transmit an N +1 th data to the service terminal, the N +1 th instruction carries an identifier.
In one embodiment, the first predetermined timing is a time point when the data processing module 6300 starts processing the nth data.
In one embodiment, the first predetermined timing may also be any time point between when the data processing module 6300 starts processing the nth data and when the processing is completed.
In one embodiment, the second predetermined timing is a time point when the data receiving module 6200 receives and stores the first data packet of the N-1 th data in the memory; or any time point between the first data packet and the last data packet of the nth-1 data received and stored in the memory by the data receiving module 6200.
The present invention may be a system, method and/or computer program product. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied therewith for causing a processor to implement various aspects of the present invention.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device over a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present invention may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present invention are implemented by personalizing an electronic circuit, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA), with state information of computer-readable program instructions, which can execute the computer-readable program instructions.
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, by software, and by a combination of software and hardware are equivalent.
Having described embodiments of the present invention, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the invention is defined by the appended claims.

Claims (10)

1. A method for data transmission, the method being applied to a side of a wrist-worn device having a memory, the method comprising the steps of:
processing the (N-1) th data stored in the memory;
receiving and storing Nth data in the memory during the process of processing the N-1 th data; wherein the Nth data is transmitted by the service terminal through at least one data packet;
when the processing of the N-1 th data is finished, continuing to start the processing of the N-1 th data, and releasing a memory space of the memory corresponding to the N-1 th data;
under a first preset occasion in the process of processing the Nth data, sending an (N + 1) th instruction for requesting to transmit the (N + 1) th data to the service terminal, and receiving and storing the (N + 1) th data transmitted by the service terminal in response to the (N + 1) th instruction in the released memory space; wherein the N +1 th data is transmitted by the service terminal through at least one data packet.
2. The method of claim 1, wherein prior to said processing the N-1 th data stored in the memory, the method further comprises:
sending an N-1 instruction for requesting transmission of the N-1 data to the service terminal;
receiving and storing in the memory the N-1 th data transmitted by the service terminal in response to the N-1 th instruction; wherein the N-1 data is transmitted by the service terminal through at least one data packet;
and sending an Nth instruction for requesting to transmit the Nth data to the service terminal at a second preset time in the process of receiving and storing the N-1 th data in the memory.
3. The method of claim 1, wherein the data packet has an identification corresponding to the nth data in the transmission of the nth data by the serving terminal through at least one data packet.
4. The method according to claim 1, wherein in the step of sending an N +1 th instruction requesting transmission of N +1 th data to the service terminal, the N +1 th instruction carries an identifier.
5. The method of claim 1, wherein the first predetermined occasion is:
a point in time at which the wrist-worn device begins processing the Nth data.
6. The method of claim 1, wherein the first predetermined occasion is:
the wrist-worn device is at any point in time between the start of processing the Nth data and the completion of processing.
7. The method of claim 2, wherein the second predetermined occasion is:
a point in time at which the wrist-worn device receives and stores a first data packet of the N-1 th data in the memory; or
Any point in time after the wrist-worn device receives and stores the first data packet of the N-1 data in the memory and before the last data packet.
8. An apparatus for use with a wrist-worn device, comprising:
the data processing module is used for processing the (N-1) th data stored in the memory;
the data receiving module is used for receiving and storing the Nth data in the memory in the process of processing the Nth-1 data by the data processing module; wherein the Nth data is transmitted by the service terminal through at least one data packet;
when the data processing module finishes processing the N-1 th data, continuously starting to process the N-1 th data and releasing the memory space of the memory corresponding to the N-1 th data;
an instruction sending module, configured to send, to the service terminal, an N +1 th instruction requesting transmission of an N +1 th data at a first predetermined time in a process of processing the nth data by the data processing module, and the data receiving module is configured to receive and store, in the released memory space, the N +1 th data transmitted by the service terminal in response to the N +1 th instruction; wherein the N +1 th data is transmitted by the service terminal through at least one data packet.
9. A wrist-worn device comprising a memory for storing executable instructions and a processor; the processor is configured to perform the method of data transmission according to any one of claims 1 to 7 under control of the instructions.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the data transmission method according to any one of claims 1 to 7.
CN202210089182.9A 2022-01-25 2022-01-25 Data transmission method and device, wrist-worn equipment and medium Pending CN114553857A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210089182.9A CN114553857A (en) 2022-01-25 2022-01-25 Data transmission method and device, wrist-worn equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210089182.9A CN114553857A (en) 2022-01-25 2022-01-25 Data transmission method and device, wrist-worn equipment and medium

Publications (1)

Publication Number Publication Date
CN114553857A true CN114553857A (en) 2022-05-27

Family

ID=81673407

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210089182.9A Pending CN114553857A (en) 2022-01-25 2022-01-25 Data transmission method and device, wrist-worn equipment and medium

Country Status (1)

Country Link
CN (1) CN114553857A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001103093A (en) * 1999-09-30 2001-04-13 Sharp Corp Method and device for transmitting data
CN101060374A (en) * 2007-04-11 2007-10-24 中兴通讯股份有限公司 Turbo coding stream processing device and method
CN102348237A (en) * 2011-10-28 2012-02-08 重庆邮电大学 Data queuing method in broadband wireless communication system
CN102968394A (en) * 2012-10-19 2013-03-13 华中科技大学 Field programmable gate array (FPGA) and digital signal processor (DSP) data transmission system based on Ping Pong mechanism
CN110795157A (en) * 2019-10-25 2020-02-14 杭州顺网科技股份有限公司 Method for increasing starting speed of diskless workstation by using limited cache

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001103093A (en) * 1999-09-30 2001-04-13 Sharp Corp Method and device for transmitting data
CN101060374A (en) * 2007-04-11 2007-10-24 中兴通讯股份有限公司 Turbo coding stream processing device and method
CN102348237A (en) * 2011-10-28 2012-02-08 重庆邮电大学 Data queuing method in broadband wireless communication system
CN102968394A (en) * 2012-10-19 2013-03-13 华中科技大学 Field programmable gate array (FPGA) and digital signal processor (DSP) data transmission system based on Ping Pong mechanism
CN110795157A (en) * 2019-10-25 2020-02-14 杭州顺网科技股份有限公司 Method for increasing starting speed of diskless workstation by using limited cache

Similar Documents

Publication Publication Date Title
US20210243045A1 (en) Online document sharing method and apparatus, electronic device, and storage medium
US20230016915A1 (en) Method and apparatus for low energy discovery
WO2020207454A1 (en) Information pushing method and device
WO2019134306A1 (en) Message processing method, device, terminal apparatus, and readable storage medium
US20180006976A1 (en) Voice chat mode self-adapting method and apparatus
KR102095533B1 (en) Electronic device and method for providing notification information selectively
CN110781373B (en) List updating method and device, readable medium and electronic equipment
CN105389175A (en) Application program sharing method and mobile terminal
CN105718284A (en) Application starting method and apparatus for communication terminal
WO2015176352A1 (en) Android system-based method and device for information exchange between applications
CN107509051A (en) Long-range control method, device, terminal and computer-readable recording medium
CN110007936B (en) Data processing method and device
US11758087B2 (en) Multimedia conference data processing method and apparatus, and electronic device
WO2020259227A1 (en) Thread task communication system, method, and related product
CN111679790A (en) Remote software development storage space distribution method and device
CN104601448A (en) Method and device for handling virtual card
CN111526192B (en) Remote control method and device of terminal, terminal and computer readable storage medium
WO2018161535A1 (en) Method, apparatus and terminal device for sending broadcast
CN111049883B (en) Data reading method, device and system of distributed table system
CN112689012A (en) Cross-network proxy communication method and device
CN114553857A (en) Data transmission method and device, wrist-worn equipment and medium
CN105978853B (en) Session scheduling method, scheduling server and terminal
WO2018049975A1 (en) Data transfer method and related product
CN111124874A (en) Method for debugging webpage, debugging server and main control equipment
CN104079368A (en) Method of transmitting test data of application software and server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination