CN115037768A - Data processing method and related equipment - Google Patents
Data processing method and related equipment Download PDFInfo
- Publication number
- CN115037768A CN115037768A CN202210745300.7A CN202210745300A CN115037768A CN 115037768 A CN115037768 A CN 115037768A CN 202210745300 A CN202210745300 A CN 202210745300A CN 115037768 A CN115037768 A CN 115037768A
- Authority
- CN
- China
- Prior art keywords
- terminal device
- service data
- terminal equipment
- terminal
- server
- 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.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 17
- 238000000034 method Methods 0.000 claims abstract description 77
- 230000004044 response Effects 0.000 claims abstract description 39
- 230000008569 process Effects 0.000 claims abstract description 31
- 238000012545 processing Methods 0.000 claims description 26
- 238000004590 computer program Methods 0.000 claims description 8
- 230000003993 interaction Effects 0.000 abstract description 15
- 238000004891 communication Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 9
- 238000013500 data storage Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 239000003814 drug Substances 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 229940079593 drug Drugs 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001737 promoting effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The present disclosure provides a data processing method and related device. The method comprises the following steps: the method comprises the steps that first terminal equipment acquires first service data and sends the first service data to second terminal equipment associated with the first terminal equipment; the second terminal equipment receives the first service data and processes the first service data to generate second service data; and responding to the second terminal equipment to process the first service data, and sending first response information to the first terminal equipment by the second terminal equipment so that the first terminal equipment deletes the first service data stored in the first terminal equipment based on the first response information. According to the data processing method and the related equipment, interaction between the terminal equipment and the server can be reduced, the interaction pressure of the server is reduced, redundant data are reduced, and the consistency of data in the system is ensured.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a data processing method and related devices.
Background
In an application scenario involving interaction of multiple terminals, a data-centric network topology is usually adopted, that is, a server is set as a device for central data processing and storage, and each terminal device performs data interaction with the server independently, so as to facilitate data transmission.
In such a multi-terminal interaction scenario, data is obtained because each terminal device interacts with the server individually. When the number of terminal devices is too large and the amount of data processed by each terminal device is too large, the server is under a great stress.
Disclosure of Invention
In view of the above, the present disclosure is directed to a data processing method and related apparatus.
Based on the above object, the present disclosure provides a data processing method, including:
a first terminal device acquires first service data and sends the first service data to a second terminal device associated with the first terminal device;
the second terminal equipment receives the first service data and processes the first service data to generate second service data;
and responding to the second terminal equipment to process the first service data, and sending first response information to the first terminal equipment by the second terminal equipment so that the first terminal equipment deletes the first service data stored in the first terminal equipment based on the first response information.
Optionally, after the first terminal device obtains the first service data, the method further includes:
the first terminal equipment sends the first service data to third terminal equipment associated with the first terminal equipment;
responding to the second terminal device to process the first service data, the second terminal device sends second response information to the third terminal device through the first terminal device, so that the third terminal device deletes the first service data stored in the third terminal device based on the second response information.
Optionally, the first terminal device determines, based on the first service data, the second terminal device and/or the third terminal device associated with the first terminal device.
Optionally, the method further includes:
and the first terminal equipment receives and stores the first service data sent by the server.
Optionally, the first service data includes user information, and the method further includes:
the first terminal equipment acquires first sub-user information and sends the first sub-user information to the server, so that the server acquires first service data corresponding to the first sub-user information and sends the first service data to the first terminal equipment.
Optionally, after the second terminal device receives the first service data, the method further includes:
and the second terminal equipment acquires second sub-user information, acquires the first service data corresponding to the first sub-user information based on the first sub-user information, and displays the first service data in a data list of the second terminal equipment.
Optionally, the method further includes:
responding to the second terminal equipment to obtain fourth terminal equipment associated with the second terminal equipment, and sending the second service data to the fourth terminal equipment by the second terminal equipment;
or,
and responding to the second terminal equipment not acquiring other terminal equipment related to the second terminal equipment, and sending the second service data to the server by the second terminal equipment.
Optionally, after the second terminal device sends the second service data to the server, the second service data stored in the second terminal device is deleted.
The present disclosure also provides a data processing system, which includes a first terminal device and a second terminal device;
the first terminal device configured to: acquiring first service data, and sending the first service data to second terminal equipment associated with the first terminal equipment;
the second terminal device configured to: receiving the first service data, and processing the first service data to generate second service data; and responding to the second terminal equipment to process the first service data, and sending first response information to the first terminal equipment by the second terminal equipment so that the first terminal equipment deletes the first service data stored in the first terminal equipment based on the first response information.
Optionally, the method further includes:
a third terminal device configured to: receiving the first service data sent by the first terminal device; and receiving second response information sent by the first terminal equipment, and deleting the first service data stored in the third terminal equipment based on the second response information.
Optionally, the method further includes:
a server configured to: and sending the first service data to the first terminal equipment.
The present disclosure also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor implements the method as described in any one of the above.
The present disclosure also provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the method of any one of the above.
The present disclosure also provides a computer program product comprising a computer-readable storage medium having stored thereon instructions that, when executed, cause at least one central processor unit of a computing device to perform the method according to any of the above.
As can be seen from the above, according to the data processing method and the related device provided by the present disclosure, after the first terminal device obtains the first service data, the second terminal device does not need to upload the first service data to the server and then request the first service data from the server, but directly determines the second terminal device associated with the first service data, and directly sends the first service data to the second terminal device, so that the interaction between the terminal device and the server is reduced, and the interaction pressure of the server is reduced; meanwhile, after the second terminal device processes the first service data, it indicates that the user related to the first service data has come to the position of the second terminal device, so that the first service data stored in the first terminal device can be deleted, on one hand, redundant data can be reduced, and the pressure of data storage and processing in the terminal device can be reduced; on the other hand, only one part of service data of the same user in the whole system is ensured to ensure the consistency of the data in the system.
Drawings
In order to clearly illustrate the technical solutions of the present disclosure or related technologies, the drawings used in the embodiments or related technologies description will be briefly introduced below, and obviously, the drawings in the following description are only embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a schematic diagram of a data-centric network topology in the related art;
FIG. 2 is a schematic flow chart illustrating a data processing method according to an embodiment of the disclosure;
fig. 3 is a schematic diagram of data interaction of a data processing method according to an embodiment of the present disclosure;
FIG. 4 is a partial flow chart of a data processing method according to an embodiment of the disclosure;
FIG. 5 is a schematic diagram of another data interaction of the data processing method according to the embodiment of the disclosure;
FIG. 6 is a block diagram of a data processing system according to an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure.
Detailed Description
For the purpose of promoting a better understanding of the objects, aspects and advantages of the present disclosure, reference is made to the following detailed description taken in conjunction with the accompanying drawings.
It is to be noted that technical terms or scientific terms used in the embodiments of the present disclosure should have a general meaning as understood by those having ordinary skill in the art to which the present disclosure belongs, unless otherwise defined. The use of "first," "second," and similar terms in the embodiments of the disclosure is not intended to indicate any order, quantity, or importance, but rather to distinguish one element from another. The word "comprising" or "comprises", and the like, means that the element or item preceding the word comprises the element or item listed after the word and its equivalent, but does not exclude other elements or items. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", and the like are used merely to indicate relative positional relationships, and when the absolute position of the object being described is changed, the relative positional relationships may also be changed accordingly.
As described in the background, in the current scenario involving multi-terminal interaction, a data-centric network topology is typically employed. As shown in fig. 1, node H is a server, and node A, B, C, D, E, F, G is a terminal device. When each terminal device needs to acquire the data info1, it needs to interact with the server separately.
For example, in a hospital scenario, corresponding terminal devices are respectively arranged at a doorway position, a registration position, a department position, a medicine taking position, and the like. When a patient comes to a door, user information is collected by terminal equipment at the door position and is sent to a server for storage and management; when a patient comes to a registration position, after a terminal device at the registration position identifies the patient, user information of the patient is requested to a server, and after registration information is added to the user information, the user information is returned to the server for storage and management; when a patient comes to a department position corresponding to the registration information, after the terminal equipment at the department position identifies the patient, the terminal equipment requests the user information of the patient from the server, and after the case information, the examination information, the prescription information and the like are added to the user information, the user information is returned to the server for storage and management.
As can be seen from the above scenario, if the data-centric network topology is adopted, if a patient needs to go through N location nodes, and a terminal device corresponding to each location node has at least two operations of querying information and storing information, the access amount of the server is at least 2N times; if the number T of the patients is considered, the number of server interaction times is 2 NT; as the number of N and T increases, the server must bear tremendous pressure.
In view of the above, the present disclosure provides a data processing method to solve the above problem.
As shown in fig. 2, the data processing method according to the embodiment of the present disclosure includes:
step S101, a first terminal device obtains first service data and sends the first service data to a second terminal device associated with the first terminal device.
In this embodiment, the data processing system includes a first terminal device and a second terminal device.
The association between the second terminal device and the first terminal device means that the second terminal device needs to acquire the first service data on the first terminal device. In this embodiment, the first terminal device needs to determine the terminal device associated therewith first, and when the device associated therewith includes the second terminal device, the first terminal device directly sends the acquired first service data to the second terminal device, without uploading the first service data to the server and then requesting the first service data from the server by the second terminal device.
Step S102, the second terminal device receives the first service data, and processes the first service data to generate second service data.
The second terminal equipment can directly acquire the first service data from the first terminal equipment without interacting with the server to acquire the first service data. After the second terminal device obtains the first service data, the second terminal device may process the first service data, for example, perform operations such as querying, modifying, adding, deleting, and the like on the first service data, or perform authority verification, identity verification, and the like by using the first service data, which is not limited in this embodiment.
Step S103: and responding to the second terminal equipment to process the first service data, and sending first response information to the first terminal equipment by the second terminal equipment so that the first terminal equipment deletes the first service data stored in the first terminal equipment based on the first response information.
Wherein, the second terminal device processes the first service data, including: and the second terminal equipment starts to process the first service data, or the second terminal equipment starts to complete the processing of the first service data. The second terminal device processes the first service data, which indicates that the user related to the first service data has come to the position of the second terminal device, so that the first service data stored by the first terminal device can be deleted, on one hand, redundant data can be reduced, and the pressure of data storage and processing in the terminal device can be reduced; and on the other hand, the information of the same service data in the whole system is ensured to have only one copy so as to ensure the consistency of the data in the system.
In this embodiment, after the first terminal device obtains the first service data, the second terminal device does not need to upload the first service data to the server and then request the first service data from the server, but directly determines the second terminal device associated with the first service data, and directly sends the first service data to the second terminal device, so that the interaction between the terminal device and the server is reduced, and the interaction pressure of the server is reduced; meanwhile, after the second terminal device processes the first service data, it indicates that the user related to the first service data has come to the position of the second terminal device, so that the first service data stored in the first terminal device can be deleted, on one hand, redundant data can be reduced, and the pressure of data storage and processing in the terminal device can be reduced; and on the other hand, only one part of information of the same service data in the whole system is ensured to ensure the consistency of the data in the system.
Fig. 3 shows a data interaction diagram of the data processing method according to the embodiment of the disclosure. The technical scheme of the present disclosure is specifically set forth below in conjunction with fig. 3.
Taking a scenic spot scene as an example, assuming that a first terminal device (assumed as a node a) is arranged at a scenic spot entrance, after a tourist purchases a tour entrance ticket including a plurality of scenic spots in the scenic spot, the tour entrance ticket is identified on the first terminal device at the scenic spot entrance, for example, the first service data can be generated through entrance ticket code scanning identification, entrance ticket card swiping identification or face identification. In this embodiment, the first service data may include each sight spot information, ticket ID information, face identification information, and the like included in the tour ticket.
Since the tour ticket includes a first scenic spot in the scenic spot, the tourist may visit the first scenic spot, and a second terminal device (assumed to be a node B) is set at an entrance of the first scenic spot, and the first terminal device determines that the second terminal device is associated with the first terminal device, the first terminal device sends first service data info1 including information of each scenic spot, ID information of the tour ticket, face identification information, and the like to the second terminal device.
After receiving the first service data, the second terminal device may process the first service data, for example, may perform identity authentication on the visitor using ticket ID information, face recognition information, and the like in the first service data, so as to determine whether the visitor may enter the scenic spot, thereby controlling the entrance gate of the scenic spot to be automatically opened, and the like.
When the second terminal device starts to process the first service data or the second terminal device starts to process the first service data, it is indicated that the user related to the first service data has come to the location of the second terminal device, for example, a visitor has left the entrance of the scenic spot to come to an scenic spot in the scenic spot scene, and considering that the visitor will not appear at the entrance of the scenic spot at the location of the first terminal device at the same time, the first service data stored in the first terminal device at the entrance of the scenic spot can be deleted, on one hand, redundant data can be reduced, and the pressure of data storage and processing in the terminal device can be reduced; on the other hand, the business data of the same tourist in the whole system is ensured to be only one copy, so that the consistency of the data in the system is ensured.
Taking a hospital scenario as an example, assuming that a first terminal device (assumed to be a node a) is arranged at a registration position, after registration of a patient is completed, first service data is generated, where the first service data may include registration information of the patient and the like. The first terminal device can obtain departments registered by the patient based on the registration information in the first service data, wherein the departments registered by the patient comprise an first department, and the first department is provided with a second terminal device (assumed to be a node B), and the first terminal device can judge that the second terminal device is associated with the first terminal device, so that the first terminal device can send the first service data to the second terminal device.
After receiving the first service data, the second terminal device may process the first service data, for example, add case information, prescription information, and examination information, so as to obtain second service data.
When the second terminal device starts to process the first service data or the second terminal device starts to process the first service data, it is described that the user related to the first service data has come to the location of the second terminal device, for example, a patient has left the registration location to the department in a hospital scene, and considering that the patient does not simultaneously appear at the registration location of the first terminal device, the first service data stored in the first terminal device at the registration location can be deleted, on one hand, redundant data can be reduced, and the pressure of data storage and processing in the terminal device can be reduced; on the other hand, the service data of the same user only has one copy in the whole system, so as to ensure the consistency of the data in the system.
Specifically, the second terminal device may send first response information to the first terminal device to notify that the current user of the first terminal device has come to the second terminal device and is not present at the first terminal device at the same time, and the first terminal device may delete the first service data stored in the first terminal device after receiving the first response information.
In other embodiments, as shown in fig. 4, after the first terminal device acquires the first service data, the method further includes:
step S201, the first terminal device sends the first service data to a third terminal device associated with the first terminal device.
In this embodiment, when the device associated with the first terminal device includes not only the second terminal device but also the third terminal device, the first terminal device sends the first service data to the second terminal device and also sends the first service data to the third terminal device.
For example, in a scenic spot scene, the tourist tickets purchased by the tourists include not only a first scenic spot (provided with a second terminal device) but also a second scenic spot (provided with a third terminal device), and the tourists may visit both the first scenic spot and the second scenic spot in an indefinite order, so that the first terminal device needs to send the first service data to the second terminal device and the third terminal device respectively.
For example, in a hospital scenario, the registration information of the patient includes not only the first department (provided with the second terminal device) but also the second department (provided with the third terminal device), and the patient may go to the second department as well as the first department in a variable order, so that the first terminal device needs to send the first service data to the second terminal device and the third terminal device respectively.
Optionally, in this embodiment, the device associated with the first terminal device is not limited to the second terminal device and the third terminal device, and may also include other devices, which is not limited in this embodiment.
In this embodiment, the first terminal device determines, based on the first service data, the second terminal device and/or the third terminal device associated with the first terminal device.
In some embodiments, the terminal device associated with the first terminal device may be determined based on a correlation between the first traffic data and respective terminal devices other than the first terminal device.
For example, in a hospital scenario, when the first service data includes registration information, since the registration information is related to a department corresponding to the registration information, the first terminal device may determine a department to which the patient goes next based on the registration information in the first service data, so as to use the terminal device corresponding to the department as the terminal device associated with the first terminal device.
For example, in a scene of a scenic spot, when the first service data includes information about each sight spot in the scenic spot, since the sight spot information is related to a terminal device set in each sight spot, the first terminal device may use the terminal device corresponding to each sight spot as the terminal device associated with the first terminal device based on the sight spot information included in the first service data.
For example, if the first terminal device is a terminal device of a certain department, the first service data generated on the terminal device includes the newly added prescription information, and therefore the terminal device associated with the terminal device includes a terminal device corresponding to the pharmacy location; in consideration of the fact that the patient leaves without going to the pharmacy to take the medicine, the prescription information included in the first business data is also related to the terminal device at the exit position, and the terminal device at the exit position can be related to the terminal device at the department position.
Specifically, when it is assumed that the first terminal device is a terminal device of a certain department, the first service data generated on the terminal device includes newly added prescription information, and when it is detected that the first service data further includes registration information of other departments, the patient may directly go to the pharmacy to take the medicine, or may first go to the other departments registered, so that the first terminal device not only sends the first service data to the terminal device corresponding to the location of the pharmacy, but also sends the first service data to the terminal device of the other departments to which the registration information points.
Alternatively, any other manner may be adopted to determine other terminal devices associated with the first terminal device, which is not limited in this embodiment.
Step S202, in response to the second terminal device processing the first service data, the second terminal device sends second response information to the third terminal device through the first terminal device, so that the third terminal device deletes the first service data stored in the third terminal device based on the second response information.
In this embodiment, although the first terminal device transmits the first service data to the second terminal device and the third terminal device at the same time, namely, the user may go to the location of the second terminal device and the location of the third terminal device after leaving the location of the first terminal device, however, when the second terminal device starts to process the first service data or the second terminal device starts to complete the processing of the first service data, it is indicated that the user related to the first service data has arrived at the location of the second terminal device, considering that the user does not simultaneously appear at the location of the third terminal device, therefore, the first service data stored in the third terminal device can be deleted, so that the pressure of data storage and processing in the terminal device can be relieved, and only one piece of information of the same user in the whole system is ensured to ensure the consistency of data in the system.
Specifically, the second terminal device may send second response information to the third terminal device through the first terminal device to notify that the current user of the third terminal device has come to the second terminal device and is not present at the third terminal device at the same time, and the third terminal device may delete the first service data stored in the third terminal device after receiving the second response information.
Optionally, in this embodiment, the second response information may be generated and sent to the first terminal device for the second terminal device, and then forwarded to the third terminal device by the first terminal device; or after the second terminal device sends the first response information to the first terminal device, the first terminal device generates the second response information again and sends the second response information to the third terminal device, which is not limited in this embodiment.
In this embodiment, since the terminal device will not only process the first service data corresponding to one user, but will process the service data corresponding to a large number of users, when the second terminal device starts to process the first service data corresponding to a certain user, the user may not go to the location of the first terminal device and the third terminal device, the corresponding first terminal device and the third terminal device do not need to store the first service data, and the number of the first service data corresponding to different users stored in the same terminal device is larger, the number of comparison times for searching the first service data corresponding to the user in the information queue will also increase, thereby causing an increase in the amount of calculation, so that unnecessary data in the first terminal device and the third terminal device are deleted, the number of comparison times of other data can be reduced, and the processing speed of other data on the terminal is increased, thereby improving the data processing speed of the whole system.
In some embodiments, the data processing system may include only the plurality of terminal devices, not the server, i.e., the first service data is stored in advance. For example, in a scenic spot scene, a tourist only needs to purchase a tour ticket and identify the tour ticket at an entrance of the scenic spot, and information of the tourist does not need to be stored in advance; after the tourist leaves, the business information corresponding to the tourist can be directly deleted without reservation, so that a server is not required to be arranged in the system.
In other embodiments, a data processing system may include a server. The server may be operable to store the first traffic data. When the first terminal device needs to acquire the first service data, the server can send the first service data to the first terminal device; and the first terminal equipment receives the first service data sent by the server and stores the first service data in the first terminal equipment.
For example, the first service data is stored in the server. As shown in fig. 5, after the patient arrives at the hospital and is identified by the first terminal device (node a), the first terminal device may obtain the first service data including the patient information, registration information, past medical history information, and the like from the server (i.e., node H), and determine the terminal device associated with the first terminal device based on the registration information.
In some specific embodiments, the first business data includes user information, for example, in a hospital scenario, the user information may include patient information, registration information, past medical history information, medical insurance cards, and the like. The method further comprises the following steps: the first terminal equipment acquires first sub-user information and sends the first sub-user information to the server, so that the server acquires first service data corresponding to the first sub-user information and sends the first service data to the first terminal equipment.
In this embodiment, it is assumed that the first terminal device is a terminal device at an entrance of a hospital, and when a patient enters through the entrance, the first terminal device may collect first sub-user information, where the first sub-user information may be an identity card number, a medical insurance card ID, a visiting card ID, face information, and the like of the user.
After the first terminal device acquires the first sub-user information, the first sub-user information can be sent to the server, the server acquires user information corresponding to the user based on the first sub-user information, for example, patient information, registration information, past medical history information and the like, and sends the user information to the first terminal device, so that the first terminal device can send the user information to the second terminal device of the first department after determining the second terminal device of the first department associated with the first terminal device, a doctor user of the first department can check the information such as the past medical history information of the patient on the second terminal device, and new medical history information and prescription information are edited to obtain second business data.
In some embodiments, after the second terminal device receives the first service data, the method further includes: and the second terminal equipment acquires second sub-user information, acquires the first service data corresponding to the first sub-user information based on the first sub-user information, and displays the first service data in a data list of the second terminal equipment.
In this embodiment, since the second terminal device may receive the first service data corresponding to a plurality of different users, for example, in a hospital scene, the first department may receive user information of a plurality of registered patients. When a corresponding patient comes to a second terminal device at the position of the first department, the second terminal device can acquire second sub-user information, for example, the identity number, the medical insurance card ID and the treatment card ID of the user are acquired through card swiping, or the face information of the user is acquired through face identification, so that first service data corresponding to the first sub-user information can be acquired, and the first service data is displayed in a data list of the second terminal device, and therefore the reported waiting of the patient in the first department is achieved.
In some embodiments, the method further comprises: responding to the second terminal equipment to acquire fourth terminal equipment associated with the second terminal equipment, and sending the second service data to the fourth terminal equipment by the second terminal equipment; or, in response to that the second terminal device does not acquire another terminal device associated with the second terminal device, the second terminal device sends the second service data to the server.
In this embodiment, after the second terminal device generates the second service data, when the second terminal device can obtain the fourth terminal device associated with the second terminal device, the second terminal device sends the second service data to the fourth terminal device. For example, in a hospital scenario, assuming that the second terminal device is disposed at the first service data, after the doctor user in the first service data adds prescription information to the first service data through the second terminal device to obtain the second service data, the second terminal device may determine that the next node is a pharmacy based on the prescription information, that is, the fourth terminal device associated with the second terminal device is disposed in the pharmacy, so that the second terminal device may send the second service data including the prescription information to the fourth terminal device, and the user of the fourth terminal device may dispense medicines for the patient based on the prescription information in the second service data.
In other embodiments, when the second terminal device does not acquire other terminal devices associated with the second terminal device, for example, the second terminal device is a terminal device at an exit of a hospital, indicating that the patient has left the hospital, the second terminal device may upload the second service data to the server for storage.
Optionally, when the second terminal device does not obtain another terminal device associated with the second terminal device and the system does not have a server, for example, the second terminal device is a terminal device at an exit of a scenic spot, the second service data stored in the second terminal device may be directly deleted.
Optionally, after the second terminal device sends the second service data to the server, the second service data stored in the second terminal device is deleted. In this embodiment, after the second terminal device uploads the second service data to the server, the second service data stored in the second terminal device may be deleted, so as to reduce redundant data.
It should be noted that the method of the embodiment of the present disclosure may be executed by a single device, such as a computer or a server. The method of the embodiment can also be applied to a distributed scene and completed by the mutual cooperation of a plurality of devices. In such a distributed scenario, one of the multiple devices may only perform one or more steps of the method of the embodiments of the present disclosure, and the multiple devices interact with each other to complete the method.
It should be noted that the above describes some embodiments of the disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments described above and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Based on the same inventive concept, the invention also provides a data processing system corresponding to the method of any embodiment.
Referring to fig. 6, the data processing system includes a first terminal device and a second terminal device. Wherein the first terminal device is configured to: acquiring first service data, and sending the first service data to second terminal equipment associated with the first terminal equipment; the second terminal device configured to: receiving the first service data, and processing the first service data to generate second service data; responding to the second terminal device to process the first service data, and sending first response information to the first terminal device by the second terminal device, so that the first terminal device deletes the first service data stored in the first terminal device based on the first response information.
Optionally, the first terminal device is further configured to: sending the first service data to a third terminal device associated with the first terminal device;
the second terminal device further configured to: responding to the second terminal device to process the first service data, and sending second response information to the third terminal device by the second terminal device through the first terminal device, so that the third terminal device deletes the first service data stored in the third terminal device based on the second response information.
Optionally, the data processing system further includes a third terminal device; a third terminal device configured to: receiving the first service data sent by the first terminal equipment; and receiving second response information sent by the first terminal equipment, and deleting the first service data stored in the third terminal equipment based on the second response information.
Optionally, the first terminal device determines, based on the first service data, the second terminal device and/or the third terminal device associated with the first terminal device.
Optionally, the system further comprises a server; the server configured to: sending the first service data to the first terminal equipment;
the first terminal device is further configured to: and receiving and storing the first service data sent by the server.
Optionally, the first service data includes user information, and the first terminal device is further configured to: acquiring first sub-user information, and sending the first sub-user information to the server, so that the server acquires first service data corresponding to the first sub-user information and sends the first service data to the first terminal device.
Optionally, the second terminal device is further configured to: and acquiring second sub-user information, acquiring the first service data corresponding to the first sub-user information based on the first sub-user information, and displaying the first service data in a data list of second terminal equipment.
Optionally, the second terminal device is further configured to: responding to the second terminal equipment to acquire fourth terminal equipment associated with the second terminal equipment, and sending the second service data to the fourth terminal equipment by the second terminal equipment; or, in response to that the second terminal device does not acquire another terminal device associated with the second terminal device, the second terminal device sends the second service data to the server.
Optionally, the second terminal device is further configured to: and after the second service data are sent to the server, deleting the second service data stored in the second terminal equipment.
The system of the foregoing embodiment is used to implement the corresponding data processing method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
Based on the same inventive concept, corresponding to any of the above-mentioned embodiments, the present disclosure further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and running on the processor, and when the processor executes the program, the method according to any of the above embodiments is implemented.
Fig. 7 is a schematic diagram illustrating a more specific hardware structure of an electronic device according to this embodiment, where the device may include: a processor 1010, a memory 1020, an input/output interface 1030, a communication interface 1040, and a bus 1050. Wherein the processor 1010, memory 1020, input/output interface 1030, and communication interface 1040 are communicatively coupled to each other within the device via bus 1050.
The processor 1010 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present disclosure.
The Memory 1020 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 1020 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 1020 and called to be executed by the processor 1010.
The input/output interface 1030 is used for connecting an input/output module to input and output information. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 1040 is used for connecting a communication module (not shown in the drawings) to implement communication interaction between the present apparatus and other apparatuses. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
It should be noted that although the above-mentioned device only shows the processor 1010, the memory 1020, the input/output interface 1030, the communication interface 1040 and the bus 1050, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
The electronic device of the foregoing embodiment is used for implementing the corresponding method in any one of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiment, which are not described again here.
Based on the same inventive concept, the present disclosure also provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the method according to any of the above embodiments, corresponding to any of the above-described embodiment methods.
Computer-readable media of the present embodiments, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the method according to any of the above embodiments, and have the beneficial effects of the corresponding method embodiment, and are not described herein again.
Based on the same inventive concept, corresponding to any of the above-described embodiment methods, the present disclosure also provides a computer program product comprising a computer program. In some embodiments, the computer program is executable by one or more processors to cause the processors to perform the method. Corresponding to the execution subject corresponding to each step in the embodiments of the method, the processor executing the corresponding step may be the corresponding execution subject.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, is limited to these examples; within the idea of the present disclosure, also technical features in the above embodiments or in different embodiments may be combined, steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present disclosure as described above, which are not provided in detail for the sake of brevity.
In addition, well-known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown in the provided figures for simplicity of illustration and discussion, and so as not to obscure the embodiments of the disclosure. Furthermore, devices may be shown in block diagram form in order to avoid obscuring embodiments of the present disclosure, and this also takes into account the fact that specifics with respect to implementation of such block diagram devices are highly dependent upon the platform within which the embodiments of the present disclosure are to be implemented (i.e., specifics should be well within purview of one skilled in the art). Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the disclosure, it should be apparent to one skilled in the art that the embodiments of the disclosure can be practiced without, or with variation of, these specific details. Accordingly, the description is to be regarded as illustrative instead of restrictive.
While the present disclosure has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of these embodiments will be apparent to those of ordinary skill in the art in light of the foregoing description. For example, other memory architectures (e.g., dynamic ram (dram)) may use the embodiments discussed.
The disclosed embodiments are intended to embrace all such alternatives, modifications and variances which fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalents, improvements, and the like that may be made within the spirit and principles of the embodiments of the disclosure are intended to be included within the scope of the disclosure.
Claims (14)
1. A data processing method, comprising:
a first terminal device acquires first service data and sends the first service data to a second terminal device associated with the first terminal device;
the second terminal equipment receives the first service data and processes the first service data to generate second service data;
and responding to the second terminal equipment to process the first service data, and sending first response information to the first terminal equipment by the second terminal equipment so that the first terminal equipment deletes the first service data stored in the first terminal equipment based on the first response information.
2. The method of claim 1, wherein after the first terminal device acquires the first service data, the method further comprises:
the first terminal equipment sends the first service data to third terminal equipment associated with the first terminal equipment;
responding to the second terminal device to process the first service data, and sending second response information to the third terminal device by the second terminal device through the first terminal device, so that the third terminal device deletes the first service data stored in the third terminal device based on the second response information.
3. The method according to claim 2, characterized in that the first terminal device determines the second terminal device and/or the third terminal device associated with the first terminal device based on the first traffic data.
4. The method of claim 1, further comprising:
and the first terminal equipment receives and stores the first service data sent by the server.
5. The method of claim 4, wherein the first service data comprises user information, and wherein the method further comprises:
the first terminal equipment acquires first sub-user information and sends the first sub-user information to the server, so that the server acquires first service data corresponding to the first sub-user information and sends the first service data to the first terminal equipment.
6. The method of claim 5, wherein after the second terminal device receives the first service data, the method further comprises:
and the second terminal equipment acquires second sub-user information, acquires the first service data corresponding to the first sub-user information based on the first sub-user information, and displays the first service data in a data list of the second terminal equipment.
7. The method of claim 1, further comprising:
responding to the second terminal equipment to acquire fourth terminal equipment associated with the second terminal equipment, and sending the second service data to the fourth terminal equipment by the second terminal equipment;
or,
and responding to the second terminal equipment not acquiring other terminal equipment related to the second terminal equipment, and sending the second service data to the server by the second terminal equipment.
8. The method according to claim 7, wherein the second service data stored in the second terminal device is deleted after the second terminal device sends the second service data to the server.
9. A data processing system is characterized by comprising a first terminal device and a second terminal device;
the first terminal device configured to: acquiring first service data, and sending the first service data to second terminal equipment associated with the first terminal equipment;
the second terminal device configured to: receiving the first service data, and processing the first service data to generate second service data; responding to the second terminal device to process the first service data, and sending first response information to the first terminal device by the second terminal device, so that the first terminal device deletes the first service data stored in the first terminal device based on the first response information.
10. The system of claim 9, further comprising:
a third terminal device configured to: receiving the first service data sent by the first terminal device; and receiving second response information sent by the first terminal equipment, and deleting the first service data stored in the third terminal equipment based on the second response information.
11. The system of claim 9, further comprising:
a server configured to: and sending the first service data to the first terminal equipment.
12. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 8 when executing the program.
13. A non-transitory computer readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1 to 8.
14. A computer program product comprising a computer-readable storage medium having stored thereon instructions that, when executed, cause at least one central processor unit of a computing device to perform the method according to any of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210745300.7A CN115037768B (en) | 2022-06-27 | 2022-06-27 | Data processing method and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210745300.7A CN115037768B (en) | 2022-06-27 | 2022-06-27 | Data processing method and related equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115037768A true CN115037768A (en) | 2022-09-09 |
CN115037768B CN115037768B (en) | 2024-10-11 |
Family
ID=83127343
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210745300.7A Active CN115037768B (en) | 2022-06-27 | 2022-06-27 | Data processing method and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115037768B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN204791184U (en) * | 2015-06-08 | 2015-11-18 | 深圳市创知行科技有限公司 | A medical prescription on individual diagnosis system for improving diagnose efficiency |
CN110096244A (en) * | 2019-04-03 | 2019-08-06 | 平安科技(深圳)有限公司 | A kind of information sharing method and relevant device based on data processing |
CN112133414A (en) * | 2020-09-08 | 2020-12-25 | 深圳中兴网信科技有限公司 | Medical service system |
CN112465653A (en) * | 2020-11-26 | 2021-03-09 | 中国人寿保险股份有限公司 | Insurance business processing method, device, equipment and storage medium |
WO2021233298A1 (en) * | 2020-05-20 | 2021-11-25 | 华为技术有限公司 | Multi-terminal task allocation method |
CN114510178A (en) * | 2020-10-29 | 2022-05-17 | 华为技术有限公司 | Shared data distribution method and electronic equipment |
-
2022
- 2022-06-27 CN CN202210745300.7A patent/CN115037768B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN204791184U (en) * | 2015-06-08 | 2015-11-18 | 深圳市创知行科技有限公司 | A medical prescription on individual diagnosis system for improving diagnose efficiency |
CN110096244A (en) * | 2019-04-03 | 2019-08-06 | 平安科技(深圳)有限公司 | A kind of information sharing method and relevant device based on data processing |
WO2021233298A1 (en) * | 2020-05-20 | 2021-11-25 | 华为技术有限公司 | Multi-terminal task allocation method |
CN112133414A (en) * | 2020-09-08 | 2020-12-25 | 深圳中兴网信科技有限公司 | Medical service system |
CN114510178A (en) * | 2020-10-29 | 2022-05-17 | 华为技术有限公司 | Shared data distribution method and electronic equipment |
CN112465653A (en) * | 2020-11-26 | 2021-03-09 | 中国人寿保险股份有限公司 | Insurance business processing method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN115037768B (en) | 2024-10-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10297346B2 (en) | Appointment-making server and appointment-making method | |
CN110889693B (en) | Payment method, device and system | |
CN109872808A (en) | Medical services processing method, system, electronic equipment and computer-readable medium | |
US11568071B2 (en) | Information provision apparatus and information provision method | |
CN103279799A (en) | Portable remote multifunctional medical service system | |
JP2015018437A (en) | Terminal device for using privilege, ic tag, program, method and system | |
EP3333795A1 (en) | Electronic device and card registration method thereof | |
US20220156403A1 (en) | Interactive methods, electronic devices and storage media | |
US20170039329A1 (en) | Pet insurance system and method | |
KR20240136964A (en) | Resource processing method and device, electronic device, storage medium and program product | |
CN112259189A (en) | Method and equipment for paying prescription bill by identifying two-dimensional code | |
KR20240024164A (en) | Apparatus and method for processing a paymnet | |
US20190130358A1 (en) | Screen sharing system, method, and program for remote medical care | |
JP2016110287A (en) | Medical information association system, device, and program | |
CN115037768A (en) | Data processing method and related equipment | |
JP7556296B2 (en) | Information control device, method and program | |
WO2021240754A1 (en) | Medical treatment information control device, system, method, and non-transitory computer-readable medium in which program is stored | |
CN108962358B (en) | Medical information processing method | |
JP2020129248A (en) | Information processing device, information processing method, and program | |
KR101969907B1 (en) | Medical support system for foreigners and computer application saved in recording medium for medical supporting of foreigners | |
JP7065474B2 (en) | Electronic prescription access information management device, access information management method, and access information management program | |
CN110517761B (en) | Medical card association method, device, equipment and storage medium | |
CN113313492A (en) | Electronic certificate generation method and related device | |
KR102536025B1 (en) | Server that supports healthcare service and controlling method thereof | |
WO2024038593A1 (en) | Information processing device, information processing method, computer-readable medium, and information processing system |
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 | ||
GR01 | Patent grant |