Method, device, computer equipment and readable storage medium for processing detection data
By setting up databases and distributed data services on the detection end and the service end respectively, the problem of poor security of detection data in traditional technologies is solved, and the safe storage and transmission of detection data in the event of network disconnection is achieved.
Patent Information
- Application Number
- CN202211289087.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-20
- Publication Date
- 2025-09-19
- Estimated Expiration
- 2042-10-20
AI Technical Summary
In traditional technologies, the security of detection data is poor, especially when the network is disconnected, the detection equipment lacks data storage capabilities, resulting in data loss.
By setting up databases and distributed data services on the detection end and the server end respectively, the detection end stores the detection data in the preset database after obtaining it, and synchronizes the data to the server's database through the distributed data service, thereby realizing persistent storage and secure transmission of data.
Even in unexpected situations such as network disconnection, detection data can be securely stored and transmitted, improving the security and reliability of detection data.
Smart Images

Figure CN115766767B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet of Things technology, and in particular to a method, apparatus, computer equipment, and computer-readable storage medium for processing detection data. Background Art
[0002] With increasing demands for product quality, the quality of the production environment is also receiving increasing attention, leading to the need for testing and monitoring of the production environment. Furthermore, a large number of independent systems for testing the production environment have emerged, such as those used to monitor humidity, temperature, and light levels in sterile production workshops for medical devices. Rapid, accurate, and stable transmission of this data, along with appropriate responses, are key challenges in the communication of test data.
[0003] Traditionally, production environment information monitoring systems have primarily been deployed using wired networks. Simply upgrading wired information transmission to wireless transmission can lead to data loss during network outages, as most monitoring equipment, such as cameras, thermometers, and hygrometers, lacks data storage capabilities. This lack of data storage can lead to data loss during the network outage. Consequently, traditional technologies often lack the security of monitoring data. Summary of the Invention
[0004] The present application provides a method, apparatus, computer device and computer-readable storage medium for processing detection data, which can solve the technical problem of poor detection data security in traditional technologies.
[0005] In a first aspect, the present application provides a method for processing detection data, including: obtaining detection data and storing the detection data in a preset database of the detection end; based on the distributed data service of the detection end, synchronizing the detection data from the preset database to the server end.
[0006] In the second aspect, the present application provides a detection data processing device, including: a storage unit for acquiring detection data and storing the detection data in a preset database of the detection end; a synchronization unit for synchronizing the detection data from the preset database to the server end based on the distributed data service of the detection end.
[0007] In a third aspect, the present application provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method for processing detection data when executing the computer program.
[0008] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor executes the steps of the method for processing detection data.
[0009] The present application provides a method, apparatus, computer equipment and computer-readable storage medium for processing detection data. The processing method obtains detection data from a detection end, and stores the detection data in a preset database of the detection end, and then synchronizes the detection data from the preset database of the detection end to a server end based on the distributed data service of the detection end. Since a database and a distributed data service are respectively set up on the server end and the detection end, after temporarily storing the detection data in the preset database of the detection end, the detection data is synchronized to the server end based on the distributed data service. The server end then stores the detection data in the database of the server end based on the corresponding distributed data service, thereby being able to use a distributed data management system to temporarily store the detection data and then synchronize it to the server end. Even in the event of unexpected situations such as network disconnection, the security of the detection data of the detection end can be guaranteed, thereby improving the security of the detection data of the detection end. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0011] Figure 1 A flowchart of a method for processing detection data provided in an embodiment of the present application;
[0012] Figure 2 A schematic diagram of a multi-detection terminal system architecture in the detection data processing method provided in an embodiment of the present application;
[0013] Figure 3 A schematic diagram of a single detection terminal system architecture in the detection data processing method provided in an embodiment of the present application;
[0014] Figure 4 A schematic diagram of the distributed data management interface layer composition of the detection end in the detection data processing method provided in an embodiment of the present application;
[0015] Figure 5 A schematic diagram of the system composition for cross-detection end calls in the detection data processing method provided in an embodiment of the present application;
[0016] Figure 6 A schematic diagram of another system composition called across detection terminals in the detection data processing method provided in an embodiment of the present application;
[0017] Figure 7 A schematic diagram of the structure of a multiplexed database at the detection end in the detection data processing method provided in an embodiment of the present application;
[0018] Figure 8 A schematic block diagram of a device for processing detection data provided in an embodiment of the present application;
[0019] Figure 9 A schematic block diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0020] The following will be combined with the drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0021] It will be understood that when used in this specification and the appended claims, the terms “comprises” and “comprising” indicate the presence of described features, integers, steps, operations, elements and / or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.
[0022] An embodiment of the present application provides a method for processing detection data, which can be applied to distributed interactive application scenarios of detection equipment such as cameras, thermometers, hygrometers, helmets, screen displays, recording terminals, AR / VR, etc., and can be applied in the distributed communication process of detection data between the detection end and the server end based on but not limited to the distributed capabilities of the Hongmeng system.
[0023] In the face of the technical problem of poor security of detection data in traditional technologies, the inventors have proposed a method for processing detection data of an embodiment of the present application. The core idea of the embodiment of the present application is: a database and a distributed data service are respectively set at the server end and the detection end, and the server end and the detection end are connected. The detection end generates detection data and stores the detection data in a preset database of the detection end. Based on the distributed data service, the detection data is synchronized from the preset database of the detection end to the server end, and based on the distributed data service of the server end, the detection data is stored in the database of the server end. Since a database and a distributed data service are respectively set at the server end and the detection end, after the detection data is temporarily stored in the preset database of the detection end, the detection data is synchronized to the server end based on the distributed data service, so that the distributed data management system can be used to temporarily store the detection data and then synchronize it to the server end. Even in the event of unexpected situations such as network disconnection, the security of the detection data of the detection end can be guaranteed, thereby improving the security of the detection data of the detection end.
[0024] The following embodiments of the present application are described in detail with reference to the accompanying drawings. In the absence of conflict, the following embodiments and features therein may be combined with each other.
[0025] See also Figures 1 to 4 , Figure 1 A flow chart of a method for processing detection data provided in an embodiment of the present application is provided. Figure 2 This is a schematic diagram of a multi-detection terminal system architecture in the detection data processing method provided in an embodiment of the present application. Figure 3 This is a schematic diagram of a single detection terminal system architecture in the detection data processing method provided in an embodiment of the present application. Figure 4 This is a schematic diagram of the distributed data management interface layer composition of the detection end in the detection data processing method provided in the embodiment of the present application. Figure 1 As shown, the application environment of the detection data processing method includes a detection end and a server end connected to the detection end based on but not limited to a distributed soft bus. The processing method is applied to the detection end, and the method includes the following steps S11-S12:
[0026] S11. Acquire detection data and store the detection data in a preset database of the detection terminal.
[0027] Specifically, the detection end describes the detection device side such as a camera, thermometer, hygrometer, etc. for detection. The detection end may include multiple detection devices such as a camera, thermometer, and hygrometer, or a single detection device such as a camera, thermometer, or hygrometer.
[0028] See also Figures 2 to 4, a database is set in advance at the detection end, that is, the preset database of the detection end. The preset database of the detection end can be a database shared by multiple detection devices such as cameras, thermometers and hygrometers, or a database used by a single detection device such as a camera, thermometer or hygrometer.
[0029] The detection end obtains detection data based on the detection of the detection equipment and local data services, and stores the detection data in a preset database of the detection end. For example, the detection end collects video images based on a camera, collects the temperature of the environment based on a thermometer, collects the humidity of the environment based on a hygrometer, etc., and stores the collected video images, temperature, and humidity in a database shared by various detection devices of the detection end. In another example, the collected video images can also be stored in a database corresponding to the camera of the detection end, the collected temperature can be stored in a database corresponding to the thermometer of the detection end, and the collected humidity can be stored in a database corresponding to the humidity of the detection unit. In this example, especially when there are multiple cameras, multiple thermometers, and multiple hygrometers, each type of detection data is stored accordingly. Due to the storage characteristics corresponding to detection data of different types and different data formats, the detection data can be stored according to the data format, which can improve the storage efficiency and convenience of the detection data.
[0030] S12: Based on the distributed data service of the detection end, synchronize the detection data from the preset database to the server end.
[0031] For details, please refer to Figures 2 to 4 , a database, a local data service, and a distributed data service are pre-set at the detection end, wherein the database set at the detection end, that is, the preset database of the detection end, is used to store the detection data at the detection end, so that the detection end supports persistent storage of various structured data. The storage can be, but is not limited to, a cache. Under normal circumstances, it can be a cache, but in special circumstances such as network disconnection, the storage is persistent storage. The local data service description of the detection end supports the local data of the detection service and other services of the detection end, and the distributed data service description of the detection end supports the data synchronization and sharing of the detection data across devices.
[0032] The server side is typically the backend that provides data storage and processing services. The server side can be a single server, a centralized service cluster, or a distributed server group. The database, local data services, and distributed data services are pre-configured on the server side. These services function similarly to those on the detection side, but are located on the detection side and the server side, respectively. These services are not detailed here.
[0033] The server end is connected to the detection end. If the server end is connected to a single detection end, the server end and the single detection end can be connected directly, or they can be connected using a distributed soft bus including but not limited to a distributed soft bus. If the server end is connected to multiple detection ends, they can be connected using but not limited to a distributed soft bus. In particular, the detection end and the server end can be connected based on a distributed soft bus, that is, before synchronizing the detection data to the server end, it also includes: connecting the detection end and the server end based on a distributed soft bus, so that not only the detection end and the server end can be wirelessly arranged to give full play to the convenience of wireless connection and other advantages, but also the detection end can give full play to the openness of distributed data management of distributed soft buses including but not limited to Hongmeng system, and give full play to the functions of the detection end as a distributed terminal such as safe operation, without the need for a dedicated management end to control the detection end, which can improve the efficiency of detection data processing.
[0034] Based on the distributed data service of the detection end, the detection data is synchronized to the server from the preset database of the detection end. Based on the distributed data service and local data service of the server, the server stores the detection data in the database of the server, realizing the persistent storage of the detection data, as well as the processing and use of the detection data.
[0035] In an embodiment of the present application, detection data is obtained through the detection end, and the detection data is stored in a preset database of the detection end, and then based on the distributed data service of the detection end, the detection data is synchronized from the preset database of the detection end to the server end. Since the database and distributed data service are respectively set up at the server end and the detection end, the detection data is temporarily stored in the preset database of the detection end, and then based on the distributed data service, the detection data is synchronized to the server end. The server end then stores the detection data in the database of the server end based on the corresponding distributed data service, so that the distributed data management system can be used to temporarily store the detection data and then synchronize it to the server end. Even in the event of unexpected situations such as network disconnection, the security of the detection data of the detection end can be guaranteed, thereby improving the security of the detection data of the detection end.
[0036] In one embodiment, acquiring the detection data includes:
[0037] According to the calling of other detection terminals by the service terminal, and based on the other detection terminals, data collection is performed on the detection object corresponding to itself to obtain detection data.
[0038] Specifically, including but not limited to connecting the detection end with the server end based on a distributed soft bus, when needed, for example, when the detection function of the detection end itself is abnormal, or when it is necessary to strengthen the detection of the detection object corresponding to the detection end itself, other detection ends can be called through the server end, especially the available detection modules contained in other detection ends can be called to partially call other detection ends, and data can be collected for the detection object corresponding to itself based on other detection ends. Other detection ends will send back the collected data, and the detection data can be transmitted across detection ends based on distributed data services, so that the detection end itself can obtain detection data from other detection ends, and upload the detection data to the server end based on its own database and distributed data services. For example, please refer to Figure 5 , Figure 5 A schematic diagram of the system composition of the cross-detection end call in the detection data processing method provided in the embodiment of the present application, such as Figure 5 As shown, the server is connected to the detection terminal 1 and the detection terminal 2 through a distributed soft bus. The detection terminal 1 is Figure 5 The detection end on the left side, detection end 2 is Figure 5 The detection end on the right side of the middle Figure 5 An abnormality occurs at detection terminal 1, that is, Figure 5 The left detection end includes an abnormal detection module, which calls the available detection module of the right detection end through the server, and collects data for the detection object corresponding to itself based on the available detection module of the right detection end. The available detection module of the right detection end can transmit the detected data across detection ends based on the distributed data service, so that the left detection end obtains the detection data, and uploads the detection data to the server based on the preset database and distributed data service of the left detection end, thereby realizing the reuse of the available detection module of the right detection end. In particular, when the detection data of the left detection end can be uploaded to the server more effectively and conveniently based on the distributed data service of the left detection end than the distributed data service based on the right detection end, the effective implementation of the detection function of the left detection end can be guaranteed.
[0039] In the embodiment of the present application, by calling other detection terminals according to the server terminal and collecting data on the detection objects corresponding to itself based on other detection terminals, the detection data is obtained, which can realize the reuse of the detection functions of other detection terminals, ensure the timely and effective realization of the detection data of the detection terminal, and realize the effective implementation of the detection function of the detection terminal.
[0040] In one embodiment, acquiring the detection data includes:
[0041] Receive the call from the server, and according to the call, collect data on the detection objects corresponding to other detection terminals to obtain detection data.
[0042] Specifically, including but not limited to connecting the detection end with the server end based on a distributed soft bus, when needed, for example, when the detection function of the other detection end itself is abnormal, or when it is necessary to strengthen the detection of the detection object corresponding to the other detection end, the detection end can be called through the server end, especially the available detection module contained in the detection end can be called to partially call the detection end, and based on the call, data collection is performed on the detection object corresponding to the other detection end, so that the detection end obtains the detection data of the detection object corresponding to the other detection end, and uploads the detection data to the server end based on its own database and distributed data service. For example, please refer to Figure 6 , Figure 6 A schematic diagram of another system composition called across detection terminals in the detection data processing method provided in an embodiment of the present application is shown as follows: Figure 6 As shown, the server is connected to the detection terminal 3 and the detection terminal 4 through a distributed soft bus. The detection terminal 3 is Figure 6 The detection end on the left side, detection end 4 is Figure 6 The detection end on the right side of the middle Figure 6 The detection terminal 4 is abnormal, that is, Figure 6 The right detection end in the figure includes an abnormal detection module, which calls the available detection module of the left detection end 3 through the server, and collects data for the detection object corresponding to the right detection end 4 based on the available detection module of the left detection end 3, so that the left detection end 3 obtains the detection data, and uploads the detection data to the server based on the database and distributed data service of the left detection end 3, thereby realizing the reuse of the available detection module of the left detection end 3, especially when the detection data of the right detection end can be effectively and conveniently uploaded to the server based on the distributed data service of the left detection end 3, the effective acquisition of the detection data of the right detection end can be guaranteed.
[0043] In an embodiment of the present application, by calling the detection end according to the server end and based on the detection end, data is collected for the detection objects corresponding to other detection ends to obtain detection data, and the detection data is uploaded to the server end based on its own database and distributed data service. This can realize the reuse of the detection function of its own detection end, ensure the effective acquisition of the detection data of other detection ends, and realize the effective implementation of the detection functions of other detection ends.
[0044] In one embodiment, after synchronizing the detection data to the server, the method further includes:
[0045] Replacing the preset database of the detection terminal with other databases corresponding to other detection tasks;
[0046] Perform detection according to the other detection task to obtain first other detection data corresponding to the other detection task, and store the first other detection data in the other database.
[0047] Specifically, single detection end multiplexing means that a single detection end can operate in multiple different detection modes or detection environments. In this case, the detection end can be directly connected to the server. Please continue to refer to Figure 3 ,In this example, the detection end is directly connected to the service end.
[0048] Please continue reading Figure 3 When the detection end is in one state, for example, the detection end is in the initial state, the preset database of the detection end only stores the data required for detection task one, and the detection end itself only calls the functions required for detection task one. After detection task one is completed and the detection data corresponding to detection task one is synchronized to the server, the detection end can start other detection tasks. For example, when the detection end is transferred to a new environment to start a new detection task, the detection end is changed to the state required by other detection tasks, including replacing the preset database of the detection end with other databases corresponding to other detection tasks, replacing the local data service of the detection end with local data services required by other detection tasks, etc., and performing detection according to other detection tasks to obtain the first other detection data corresponding to other detection tasks, and storing the first other detection data in other databases, and synchronizing the first other detection data from other databases to the server, which can enable a single detection end to operate in multiple different detection modes and detection environments, realize the reuse of the detection end, improve the utilization rate of the detection end, and avoid later operations, reducing the probability of things occurring.
[0049] In one embodiment, acquiring the detection data and storing the detection data in a preset database of the detection terminal includes:
[0050] Calling other detection components to perform detection and obtain second other detection data;
[0051] The second other detection data is stored in a reuse database pre-built by the detection end.
[0052] Specifically, a reuse database is pre-built at the detection end. The reuse database can be included in the preset database of the detection end, that is, a portion of the preset database of the detection end is divided out as the reuse database. For example, see Figure 7 , Figure 7 A schematic diagram of the structure of the multiplexed database of the detection end in the detection data processing method provided in the embodiment of the present application is shown as follows: Figure 7As shown, a reuse database is constructed in the database. The reuse database describes the database corresponding to other detection components that are temporarily called. It is a database that can be initialized according to demand only when needed. Then, other detection components are called to perform detection to obtain second other detection data. The second other detection data is stored in the reuse database pre-built by the detection end. Therefore, when other detection components are called to perform detection, there will be a temporary reuse database, so that the commonly used detection components of the detection end are still stored in the preset database of the detection end, and the second other detection data of other detection components are stored in the reuse database. This ensures that the detection data of the commonly used detection components of the detection end and other detection components do not affect each other, which can reduce storage pressure and improve the processing efficiency of detection data at the detection end.
[0053] Furthermore, before storing the second other detection data in the reuse database pre-built by the detection end, the method further includes:
[0054] In different time periods, the reuse database is configured to be used by different other detection components.
[0055] Specifically, in the case of calling multiple other detection components, the reused database is configured to be used by different other detection components in different time periods, thereby realizing the reuse of the reused database, that is, in one time period, one other calling component uses the reused database, and in another time period, another other calling component uses the reused database. For example, please continue to refer to Figure 7 In this example, a reuse database is pre-built in the preset database of the detection end. The reuse database is a database that is temporarily called to reuse other detection components 1 and other detection components 2. Other detection components 1 and other detection components 2 use the reuse database in different time periods. Therefore, no matter how many other detection components are temporarily used on the device, the capacity of the database will not change.
[0056] In the embodiment of the present application, the reused database is configured to be used by different other detection components in different time periods. In this way, there will be only one reused database at the same time, and the detection data of different other detection components can be stored in an orderly manner. No matter how many specific components are temporarily called by the detection end, the capacity of the database will not change, which can reduce storage pressure and improve the reusability and scalability of the detection end, and the configuration can be changed at any time according to needs.
[0057] It should be noted that the detection data processing methods described in the above embodiments can recombine the technical features contained in different embodiments as needed to obtain a combined implementation plan, but they are all within the scope of protection required by this application.
[0058] See also Figure 8 , Figure 8 This is a schematic block diagram of a detection data processing device provided in an embodiment of the present application. Corresponding to the above-mentioned detection data processing method, an embodiment of the present application also provides a detection data processing device. Figure 8 As shown, the detection data processing device includes a unit for executing the above-mentioned detection data processing method, and the detection data processing device can be configured in a computer device. Figure 8 The detection data processing device 80 includes a storage unit 81 and a synchronization unit 82.
[0059] The storage unit 81 is used to obtain the detection data and store the detection data in a preset database of the detection terminal;
[0060] The synchronization unit 82 is configured to synchronize the detection data from the preset database to the server based on the distributed data service of the detection terminal.
[0061] In one embodiment, the detection data processing device 80 further includes:
[0062] A connecting unit is used to connect the detection end with the service end based on a distributed soft bus.
[0063] In one embodiment, the storage unit 81 is configured to collect data on the detection object corresponding to itself based on the call of the server end to other detection ends and on the basis of the other detection ends, to obtain detection data.
[0064] In one embodiment, the storage unit 81 is configured to receive a call from the server, and based on the call, collect data on detection objects corresponding to other detection terminals to obtain detection data.
[0065] In one embodiment, the detection data processing device 80 further includes:
[0066] A replacement unit, configured to replace the preset database of the detection terminal with another database corresponding to another detection task;
[0067] The detection unit is configured to perform detection according to the other detection task, obtain first other detection data corresponding to the other detection task, and store the first other detection data in the other database.
[0068] In one embodiment, the storage unit 81 includes:
[0069] A calling subunit, configured to call other detection components to perform detection and obtain second other detection data;
[0070] The storage subunit is used to store the second other detection data into a multiplexing database pre-built by the detection end.
[0071] In one embodiment, the storage unit 81 further includes:
[0072] The configuration subunit is used to configure the reuse database to be used by different other detection components in different time periods.
[0073] It should be noted that those skilled in the art can clearly understand that the specific implementation process of the above-mentioned detection data processing device and each unit can refer to the corresponding description in the aforementioned method embodiment. For the convenience and brevity of description, they will not be repeated here.
[0074] At the same time, the division and connection methods of the various units in the above-mentioned detection data processing device are only used for illustration. In other embodiments, the detection data processing device can be divided into different units as needed, and the various units in the detection data processing device can also be connected in different orders and methods to complete all or part of the functions of the above-mentioned detection data processing device.
[0075] The above-mentioned detection data processing device can be implemented in the form of a computer program. The computer program can be used in Figure 9 Runs on the computer equipment shown.
[0076] See also Figure 9 , Figure 9 1 is a schematic block diagram of a computer device provided in an embodiment of the present application. The computer device 500 may be a computer device such as a desktop computer or a server, or may be a component or part in other devices.
[0077] See Figure 9 The computer device 500 includes a processor 502, a memory and a network interface 505 connected through a system bus 501, wherein the memory may include a non-volatile storage medium 503 and an internal memory 504, and the memory may also be a volatile storage medium.
[0078] The non-volatile storage medium 503 can store an operating system 5031 and a computer program 5032. When the computer program 5032 is executed, the processor 502 can execute the above-mentioned detection data processing method.
[0079] The processor 502 is used to provide computing and control capabilities to support the operation of the entire computer device 500.
[0080] The internal memory 504 provides an environment for the operation of the computer program 5032 in the non-volatile storage medium 503. When the computer program 5032 is executed by the processor 502, the processor 502 can execute the above-mentioned detection data processing method.
[0081] The network interface 505 is used to communicate with other devices through the network. Figure 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device 500 to which the solution of the present application is applied. The specific computer device 500 may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components. For example, in some embodiments, the computer device may only include a memory and a processor. In such an embodiment, the structure and function of the memory and processor are the same as those in the embodiment of the present application. Figure 9 The embodiments shown are consistent and will not be described again here.
[0082] The processor 502 is configured to run a computer program 5032 stored in the memory to implement the detection data processing method described above.
[0083] It should be understood that in the embodiment of the present application, the processor 502 may be a central processing unit (CPU), and the processor 502 may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc.
[0084] Those skilled in the art will appreciate that all or part of the steps in the method of the above-described embodiment can be implemented by a computer program, which can be stored in a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the steps in the method of the above-described embodiment.
[0085] Therefore, the present application also provides a computer-readable storage medium. The computer-readable storage medium may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium, and the computer-readable storage medium stores a computer program that, when executed by a processor, causes the processor to perform the following steps:
[0086] A computer program product, when running on a computer, enables the computer to execute the steps of the method for processing detection data described in the above embodiments.
[0087] The computer-readable storage medium may be an internal storage unit of the aforementioned device, such as a hard disk or memory of the device. The computer-readable storage medium may also be an external storage device of the device, such as a plug-in hard disk equipped on the device, a Smart Media Card (SMC), a Secure Digital (SD) card, a Flash Card, etc. Furthermore, the computer-readable storage medium may include both an internal storage unit of the device and an external storage device.
[0088] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described equipment, devices and units can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0089] The storage medium is a physical, non-transient storage medium, for example, a USB flash drive, a mobile hard disk, a read-only memory (ROM), a magnetic disk, or an optical disk, etc., which can store computer programs.
[0090] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0091] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of each unit is merely a logical functional division, and other division methods may be used in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not implemented.
[0092] The steps in the method of the embodiment of the present application can be adjusted in order, combined, and deleted according to actual needs. The units in the device of the embodiment of the present application can be combined, divided, and deleted according to actual needs. In addition, the functional units in the various embodiments of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into a single unit.
[0093] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the existing technology, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for enabling an electronic device (which can be a personal computer, terminal, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application.
[0094] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in the present application, and such modifications or substitutions should be included in the scope of protection of the present application. Therefore, the scope of protection of the present application should be based on the scope of protection of the claims.
Claims
1. A method for processing detection data, characterized in that: include: Acquiring detection data includes: according to the service end calling other detection ends, and based on the other detection ends, collecting data on the detection object corresponding to itself to obtain detection data; and storing the detection data in a preset database of the detection end, including: calling other detection components to perform detection to obtain second other detection data; and storing the second other detection data in a reuse database pre-built by the detection end; Based on the distributed data service of the detection terminal, the detection data is synchronized from the preset database to the server; before synchronizing the detection data to the server, the method further includes: connecting the detection terminal to the server based on a distributed soft bus; After synchronizing the detection data to the server, the method further includes: replacing the preset database of the detection terminal with other databases corresponding to other detection tasks; performing detection according to the other detection tasks to obtain first other detection data corresponding to the other detection tasks, and storing the first other detection data in the other databases.
2. The method for processing detection data according to claim 1, characterized in that: The acquiring of detection data includes: Receive the call from the server, and according to the call, collect data on the detection objects corresponding to other detection terminals to obtain detection data.
3. The method for processing detection data according to claim 1, characterized in that: Before storing the second other detection data into the reuse database pre-built by the detection end, the method further includes: In different time periods, the reuse database is configured to be used by different other detection components.
4. A detection data processing device, characterized in that: include: A storage unit for acquiring detection data, including: according to the service end calling other detection ends, and based on the other detection ends, collecting data on the detection object corresponding to itself to obtain detection data; and storing the detection data in a preset database of the detection end, including: calling other detection components to perform detection to obtain second other detection data; and storing the second other detection data in a reuse database pre-constructed by the detection end; A synchronization unit, configured to synchronize the detection data from the preset database to the server based on the distributed data service of the detection terminal; before synchronizing the detection data to the server, the method further includes: connecting the detection terminal to the server based on a distributed soft bus; After synchronizing the detection data to the server, the method further includes: replacing the preset database of the detection terminal with other databases corresponding to other detection tasks; performing detection according to the other detection tasks to obtain first other detection data corresponding to the other detection tasks, and storing the first other detection data in the other databases.
5. A computer device, characterized in that: The computer device includes a memory and a processor connected to the memory; the memory is used to store a computer program; and the processor is used to run the computer program to perform the steps of the method according to any one of claims 1 to 3.
6. A computer-readable storage medium, characterized in that The storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 3 can be implemented.
Citation Information
Patent Citations
Building Internet of Things data acquisition device based on distributed cloud architecture
CN111176171A