Data synchronization method and device, cloud server and storage medium
By synchronizing the correlation analysis data of automobile components on the cloud server, the problem of duplication of work caused by opaque work between engineers is solved, and timely sharing of data and efficient use of resources are achieved.
Patent Information
- Application Number
- CN202410673999.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-28
- Publication Date
- 2024-08-30
AI Technical Summary
During the automobile development process, the work tasks between engineers are not transparent, resulting in duplication of work and waste of time, especially in the analysis of contact functions of components. If engineers do not know the analysis results completed by others, they will repeat the same work.
Provide a data synchronization method that obtains the data to be synchronized through the cloud server, including project identification data and analysis result data of associated analysis items, and synchronizes it to a second user terminal with corresponding permissions to ensure that the second user terminal can be informed in a timely manner Analyze the situation of the first user terminal to avoid duplication of work.
Through the data synchronization method, the second user terminal can obtain the analysis results of the first user terminal in time, avoid duplication of work, and improve work efficiency and resource utilization.
Smart Images

Figure CN118568174A
Abstract
Description
Technical Field
[0001] The present application relates to the field of automobile technology, and in particular to a data synchronization method, device, cloud server and storage medium. Background Art
[0002] At present, in the process of automobile R&D, the work tasks of each engineer are not transparent, which easily leads to duplication of work. For example, if engineer A needs to analyze the contact function of automobile component 1, when engineer A has completed the contact function analysis between automobile component 1 and automobile component 2, if engineer B who needs to analyze the contact function of automobile component 2 does not know that engineer A has completed the contact function analysis between automobile component 1 and automobile component 2, then duplication of work will be performed, wasting time. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide a data synchronization method, device, cloud server and storage medium to solve the above-mentioned technical problems.
[0004] In one aspect, a data synchronization method is provided, which is applied to a cloud server, and the method comprises:
[0005] Acquire data to be synchronized; the data to be synchronized is data sent to the cloud server when the first user terminal completes the association analysis of the association analysis items of the vehicle; the data to be synchronized includes at least one of the project identification data of each single item to be analyzed in the association analysis items, and the analysis result data of the association analysis performed in conjunction with each single item to be analyzed;
[0006] The data to be synchronized is synchronized to the second user terminal.
[0007] In one embodiment, the associated analysis item includes a first component and a second component of the vehicle, the analysis result data includes result data obtained by analyzing a contact function between the first component and the second component, and the project identification data includes first identification data of the first component and second identification data of the second component.
[0008] In one of the embodiments, before synchronizing the data to be synchronized to the second user terminal, the method includes:
[0009] According to the permission level pre-set for each user, a second user terminal that can access the data to be synchronized from the cloud server is screened out from the user terminal set corresponding to the target user set; the target user set is a set of users other than the first user using the first user terminal.
[0010] In one embodiment, the step of selecting a second user terminal that can access the data to be synchronized from the cloud server from a user terminal set corresponding to a target user set according to a permission level pre-set for each user includes:
[0011] taking a user terminal corresponding to a user having the same authority level as the first user in the target user set as a second user terminal;
[0012] and / or,
[0013] A user terminal corresponding to a user in the target user set with a higher authority level than the first user is used as a second user terminal.
[0014] In one embodiment, the method further comprises:
[0015] prohibiting the second user terminal corresponding to a user having the same authority level as the first user from editing the data to be synchronized in the cloud server;
[0016] The second user terminal corresponding to a user having a higher authority level than the first user is allowed to edit the data to be synchronized in the cloud server.
[0017] In one embodiment, synchronizing the to-be-synchronized data to the second user terminal includes:
[0018] The first identification data, the second identification data and the contact function analysis data are associated and sent to a second user terminal, so that the second user terminal can display prompt information and the contact function analysis data on a component analysis page; the prompt information is used to prompt that the contact function analysis between the first component and the second component has been completed.
[0019] In one embodiment, the second user terminal displays prompt information on the component analysis page, including:
[0020] The second user terminal sets the association marks corresponding to the first component and the second component to a target color on the component analysis page.
[0021] On the other hand, a data synchronization device is provided, which is applied to a cloud server, and the device includes:
[0022] an acquisition module, used for acquiring data to be synchronized; the data to be synchronized is data sent to the cloud server when the first user terminal completes the association analysis of the association analysis items of the vehicle; the data to be synchronized includes at least one of the project identification data of each single item to be analyzed in the association analysis items, and the analysis result data of the association analysis performed in conjunction with each single item to be analyzed;
[0023] A synchronization module is used to synchronize the data to be synchronized to the second user terminal.
[0024] On the other hand, a cloud server is provided, including a processor and a memory, wherein a computer program is stored in the memory, and the processor executes the computer program to implement any one of the above methods.
[0025] On the other hand, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by at least one processor, any one of the above methods is implemented.
[0026] The data synchronization method, cloud server and computer-readable storage medium provided by the present application obtain the data to be synchronized, which is the data sent to the cloud server when the first user terminal completes the association analysis of the association analysis items of the vehicle, wherein the data to be synchronized includes the project identification data of each single item to be analyzed in the association analysis items, and at least one of the analysis result data of the association analysis performed on each single item to be analyzed, and synchronizes the data to be synchronized to the second user terminal, so that the user using the second user terminal can promptly know the association analysis status of the association analysis item of the vehicle by the first user terminal, thereby avoiding duplication of work. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 A flowchart of a data synchronization method provided in Example 1 of the present application;
[0028] Figure 2 A schematic diagram of the structure of a data synchronization device provided in Embodiment 2 of the present application;
[0029] Figure 3 A schematic diagram of the structure of the cloud server provided in Example 3 of the present application. DETAILED DESCRIPTION
[0030] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0031] Embodiment 1:
[0032] An embodiment of the present application provides a data synchronization method, which is applied to a cloud server. The cloud server in the embodiment of the present application can be an intercommunication server or a background server between multiple heterogeneous systems, or it can be an independent physical server, or it can be a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, as well as basic cloud computing services such as big data and artificial intelligence platforms, etc.
[0033] See also Figure 1 As shown, the data synchronization method applied to the cloud server side provided in the embodiment of the present application includes:
[0034] S11: Obtain the data to be synchronized; the data to be synchronized is the data sent to the cloud server when the first user terminal completes the association analysis of the association analysis items of the vehicle; the data to be synchronized includes the project identification data of each item to be analyzed in the association analysis items, and at least one of the analysis result data of the association analysis performed on each item to be analyzed.
[0035] S12: Synchronize the data to be synchronized to the second user terminal.
[0036] The following is a detailed introduction to the contents of the above steps.
[0037] The associated analysis items in the embodiment of the present application are composed of at least two items to be analyzed. The items to be analyzed refer to the items that need to be analyzed for the vehicle during the vehicle development process, including but not limited to the various components of the vehicle, the environmental factors of the environment in which the vehicle is located, the various performances of the components, etc. The project identification data of the items to be analyzed is the unique identity mark of the items to be analyzed. According to the project identification data, the user can distinguish the items to be analyzed. Performing an associated analysis in conjunction with the items to be analyzed refers to the process of analyzing the combination situations that meet the corresponding conditions of the items to be analyzed. The following examples are given for different application scenarios.
[0038] In the first example, when the function of a certain component of a vehicle in a certain environment needs to be analyzed, the component and the environment can be used as the individual items to be analyzed in the associated analysis item, and the associated analysis of the individual items to be analyzed refers to the process of analyzing the function of the component in the environment. At this time, the project identification data includes the identification data of the component and the identification data of the environment.
[0039] It is understandable that, in this example, the first user can analyze the function of the component in the environment through the first user terminal to obtain the analysis result data. The first user terminal can send at least one of the identification data of the component, the identification data of the environment, and the analysis result data as data to be synchronized to the cloud server, and the cloud server sends the data to be synchronized to the second user terminal after obtaining the data to be synchronized. Preferably, the first user terminal can send the identification data of the component, the identification data of the environment, and the analysis result data to the second user terminal, so that the second user on the second user terminal can promptly know that the first user has completed the functional analysis of the component in the environment, and can directly obtain the analysis result data of the first user, avoiding the second user from repeating the work.
[0040] In the second example, when a certain performance of a certain component of a vehicle needs to be analyzed, the component and the performance can be used as the individual items to be analyzed in the associated analysis item, and the associated analysis combined with the individual items to be analyzed refers to the process of analyzing the performance of the component. In this case, the project identification data includes the identification data of the component and the identification data of the performance.
[0041] Similarly, in this example, the first user can analyze the performance of the component through the first user terminal to obtain the analysis result data. The first user terminal can send at least one of the identification data of the component, the identification data of the performance and the analysis result data as the data to be synchronized to the cloud server, and the cloud server sends the data to be synchronized to the second user terminal after obtaining the data to be synchronized. Preferably, the first user terminal can send the identification data of the component, the identification data of the performance and the analysis result data to the second user terminal, so that the second user on the second user terminal can know in time that the first user has completed the analysis of the performance of the component, and can directly obtain the analysis result data of the first user, avoiding the second user from repeating the work. When the second user on the second user terminal needs to analyze another performance of the component, if the analysis of the other performance needs to be based on the analysis result of the performance, the analysis result data can be directly used, saving the workload of the second user on the second user terminal.
[0042] In the third example, the associated analysis items include a first component and a second component of the vehicle, the analysis result data include result data obtained by analyzing the contact function between the first component and the second component, and the project identification data include first identification data of the first component and second identification data of the second component.
[0043] It should be noted that the first zero component and the second zero component in this example can be any zero component on the vehicle that needs to be contact analyzed. In this example, during the process of the first user analyzing the contact function of the first zero component through the first user terminal, if the analysis of the contact function between the first zero component and the second zero component is completed and the corresponding analysis result data is obtained, the first user terminal can send at least one of the first identification data, the second identification data and the analysis result data as the data to be synchronized to the cloud server, and the cloud server sends the data to be synchronized to the second user terminal after obtaining the data to be synchronized. Preferably, the first user terminal can send the first identification data, the second identification data and the analysis result data to the second user terminal, so that the second user on the second user terminal can know in time that the first user has completed the analysis of the contact function between the first zero component and the second zero component, and can directly obtain the analysis result data of the first user. When the second user on the second user terminal needs to analyze the contact function of the second zero component, the analysis result data between the second zero component and the first zero component can be directly used.
[0044] It should be noted that the cloud server in the embodiment of the present application can obtain the data to be synchronized from the first user terminal, that is, when the first user terminal completes the association analysis of the association analysis items of the vehicle, it can actively send the data to be synchronized to the cloud server.
[0045] In some embodiments, the cloud server may store the data to be synchronized, and when the cloud server receives a request from the second user terminal for accessing the data to be synchronized, the cloud server synchronizes the data to be synchronized to the second user terminal.
[0046] In some other embodiments, the cloud server may proactively synchronize the data to be synchronized to the second user terminal upon receiving the data to be synchronized, so that the second user on the second user terminal may promptly understand the analysis of the associated analysis item by the first user.
[0047] It should also be noted that the second user terminal in the embodiment of the present application can be any user terminal other than the first user terminal that can communicate with the cloud server, so that users on each user terminal can understand the first user's analysis of the associated analysis item.
[0048] In order to avoid wasting synchronization resources and make data synchronization more targeted, before step S12 of the embodiment of the present application, a second user terminal that can access the data to be synchronized from the cloud server can be screened out from other user terminals except the first user terminal.
[0049] Specifically, according to the permission level pre-set for each user, a second user terminal that can access the data to be synchronized from the cloud server is screened from the user terminal set corresponding to the target user set; the target user set is a set of users other than the first user who uses the first user terminal. The user terminal set corresponding to the target user set refers to a set of user terminals used by each user in the target user set.
[0050] Exemplarily, in the embodiment of the present application, the user terminal corresponding to the user having the same authority level as the first user in the target user set may be used as the second user terminal;
[0051] and / or,
[0052] A user terminal corresponding to a user in the target user set with a higher authority level than the first user is used as the second user terminal.
[0053] It should be noted that, in some embodiments, for the user terminal corresponding to the user in the target user set who has a higher authority level than the first user, the data to be synchronized may not be synchronized to it, or only the project identification data of the single item to be analyzed may be sent to it, without sending the analysis result data of the associated analysis performed on the single items to be analyzed.
[0054] In the embodiment of the present application, the second user terminal mentioned above is allowed to access the data to be synchronized in the cloud server, thereby achieving sharing of the data to be synchronized among the user terminals in need.
[0055] In the embodiment of the present application, the second user terminal corresponding to the user with the same authority level as the first user can be prohibited from editing the data to be synchronized in the cloud server, and the second user terminal corresponding to the user with a higher authority level than the first user can be allowed to edit the data to be synchronized in the cloud server. Different editing permissions are set for users with different authority levels, so that differentiated management of editing permissions is achieved.
[0056] To facilitate understanding, a specific example is used here for explanation.
[0057] Assuming that corresponding permission levels are set for Engineer A, Engineer B, Engineer C, and Engineer D in this example, and assuming that the permission level of Engineer A is low, the permission levels of Engineer B and Engineer C are intermediate, and the permission level of Engineer D is high, and assuming that Engineer B is the first user using the first user terminal, then Engineer A, Engineer C, and Engineer D constitute the target user set, and the user terminals used by Engineer A, Engineer C, and Engineer D respectively constitute the user terminal set corresponding to the target user set. In this example, the user terminals used by Engineer C and Engineer D respectively can be used as the second user terminal, and the data to be synchronized can be synchronized to the second user terminal, and the data to be synchronized does not need to be synchronized to the user terminal used by Engineer A.
[0058] It should be noted that in step S12 of the embodiment of the present application, the first identification data, the second identification data and the contact function analysis data can be associated and sent to a second user terminal, so that the second user terminal can display prompt information and the contact function analysis data on the component analysis page; the prompt information is used to prompt that the contact function analysis between the first component and the second component has been completed.
[0059] It is understandable that, in some embodiments, the prompt information may only indicate that the contact function analysis between the first component and the second component has been completed, but no prompt may be given as to who completed the analysis. In other embodiments, in addition to indicating that the contact function analysis between the first component and the second component has been completed, the prompt information may also indicate who completed the analysis, that is, the prompt information may include the identity information of the first user, so that the user on the second user terminal can find the first user when needed.
[0060] In the embodiment of the present application, the second user terminal can set the association marks corresponding to the first component and the second component to the target color on the component analysis page. For example, the association marks corresponding to the first component and the second component are set to gray to indicate that other users have completed the contact function analysis between the first component and the second component.
[0061] The data synchronization method provided by the present application obtains the data to be synchronized, which is the data sent to the cloud server when the first user terminal completes the association analysis of the association analysis items of the vehicle, wherein the data to be synchronized includes the project identification data of each item to be analyzed in the association analysis items, and at least one of the analysis result data of the association analysis performed on each item to be analyzed, and synchronizes the data to be synchronized to the second user terminal, so that the user using the second user terminal can promptly know the association analysis status of the association analysis item of the vehicle by the first user terminal, thereby avoiding duplication of work.
[0062] It should be understood that, although the various steps in the above-mentioned flow chart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the above-mentioned flow chart may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.
[0063] Embodiment 2:
[0064] See also Figure 2 As shown, the embodiment of the present application also provides a data synchronization device, which is applied to a cloud server, and the device includes:
[0065] The acquisition module 201 is used to acquire data to be synchronized; the data to be synchronized is data sent to the cloud server when the first user terminal completes the association analysis of the association analysis items of the vehicle; the data to be synchronized includes at least one of the project identification data of each single item to be analyzed in the association analysis items, and the analysis result data of the association analysis performed in conjunction with each single item to be analyzed;
[0066] The synchronization module 202 is used to synchronize the data to be synchronized to the second user terminal.
[0067] Furthermore, the associated analysis item includes a first component and a second component of the vehicle, the analysis result data includes result data obtained by analyzing a contact function between the first component and the second component, and the project identification data includes first identification data of the first component and second identification data of the second component.
[0068] Furthermore, the synchronization module 202 is also used to filter out a second user terminal that can access the data to be synchronized from the cloud server from the user terminal set corresponding to the target user set according to the permission level set in advance for each user; the target user set is a set of users other than the first user using the first user terminal.
[0069] Furthermore, the synchronization module 202 is also used to use the user terminal corresponding to the user with the same authority level as the first user in the target user set as the second user terminal; and / or, use the user terminal corresponding to the user with a higher authority level than the first user in the target user set as the second user terminal.
[0070] Furthermore, the data synchronization device also includes a control module, which is used to prohibit the second user terminal corresponding to the user with the same authority level as the first user from editing the data to be synchronized in the cloud server; and allow the second user terminal corresponding to the user with a higher authority level than the first user to edit the data to be synchronized in the cloud server.
[0071] Furthermore, the synchronization module 202 is used to associate the first identification data, the second identification data and the contact function analysis data and send them to the second user terminal, so that the second user terminal can display prompt information and the contact function analysis data on the component analysis page; the prompt information is used to prompt that the contact function analysis between the first component and the second component has been completed.
[0072] It should be noted that, for the sake of brevity, the contents described in the above embodiments will not be repeated in this embodiment.
[0073] Embodiment three:
[0074] See also Figure 3 As shown, an embodiment of the present application provides a cloud server, including a processor 301 and a memory 302, wherein the memory 302 stores a computer program, and the processor 301 executes the computer program to implement the steps of the method introduced above, which will not be repeated here.
[0075] The processor 301 may be an integrated circuit chip with signal processing capabilities. The processor 301 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. It may implement or execute various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0076] The memory 302 may include, but is not limited to, random access memory (RAM), read-only memory (ROM), programmable read-only memory (PROM), erasable read-only memory (EPROM), electrically erasable read-only memory (EEPROM), etc.
[0077] This embodiment also provides a computer-readable storage medium, such as a floppy disk, a CD, a hard disk, a flash memory, a USB flash disk, an SD card, an MMC card, etc., in which one or more programs for implementing the above steps are stored. These one or more programs can be executed by one or more processors to implement the steps of the method in the above embodiment 1, which will not be repeated here.
[0078] It should be noted that the diagram provided in the present embodiment only illustrates the basic concept of the present invention in a schematic manner, so the diagram only shows the components related to the present invention rather than drawing according to the number, shape and size of the components during actual implementation. The type, quantity and ratio of each component during actual implementation can be a random change, and the component layout type may also be more complicated. The structure, ratio, size, etc. illustrated in the drawings of the present specification are only used to match the content disclosed in the specification for people familiar with this technology to understand and read, and are not used to limit the limiting conditions that the present invention can implement, so they have no technical substantive significance. Any modification of the structure, change of the proportional relationship or adjustment of the size should still fall within the scope of the technical content disclosed by the present invention without affecting the effect that the present invention can produce and the purpose that can be achieved. At the same time, the terms such as "upper", "lower", "left", "right", "middle" and "one" quoted in this specification are only for the convenience of narration, and are not used to limit the scope of the present invention. The change or adjustment of its relative relationship should also be regarded as the scope of the present invention without substantially changing the technical content.
[0079] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0080] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A data synchronization method, characterized in that: Applied to a cloud server, the method comprises: Acquire data to be synchronized; the data to be synchronized is data sent to the cloud server when the first user terminal completes the association analysis of the association analysis items of the vehicle; the data to be synchronized includes at least one of the project identification data of each single item to be analyzed in the association analysis items, and the analysis result data of the association analysis performed in conjunction with each single item to be analyzed; The data to be synchronized is synchronized to the second user terminal.
2. The data synchronization method according to claim 1, characterized in that: The associated analysis item includes a first component and a second component of the vehicle, the analysis result data includes result data obtained by analyzing a contact function between the first component and the second component, and the project identification data includes first identification data of the first component and second identification data of the second component.
3. The data synchronization method according to claim 1, characterized in that: Before synchronizing the data to be synchronized to the second user terminal, the method includes: According to the permission level pre-set for each user, a second user terminal that can access the data to be synchronized from the cloud server is screened out from the user terminal set corresponding to the target user set; the target user set is a set of users other than the first user using the first user terminal.
4. The data synchronization method according to claim 3, characterized in that: The step of selecting, from a user terminal set corresponding to a target user set, a second user terminal that can access the data to be synchronized from the cloud server according to a permission level pre-set for each user, includes: taking a user terminal corresponding to a user having the same authority level as the first user in the target user set as a second user terminal; and / or, A user terminal corresponding to a user in the target user set with a higher authority level than the first user is used as a second user terminal.
5. The data synchronization method according to claim 4, characterized in that: The method further comprises: prohibiting the second user terminal corresponding to a user having the same authority level as the first user from editing the data to be synchronized in the cloud server; The second user terminal corresponding to a user having a higher authority level than the first user is allowed to edit the data to be synchronized in the cloud server.
6. The data synchronization method according to claim 2, characterized in that: The step of synchronizing the to-be-synchronized data to the second user terminal includes: The first identification data, the second identification data and the contact function analysis data are associated and sent to a second user terminal, so that the second user terminal can display prompt information and the contact function analysis data on a component analysis page; the prompt information is used to prompt that the contact function analysis between the first component and the second component has been completed.
7. The data synchronization method according to claim 6, characterized in that: The second user terminal displays prompt information on the component analysis page, including: The second user terminal sets the association marks corresponding to the first component and the second component to a target color on the component analysis page.
8. A data synchronization device, characterized in that: Applied to a cloud server, the device comprises: an acquisition module, used for acquiring data to be synchronized; the data to be synchronized is data sent to the cloud server when the first user terminal completes the association analysis of the association analysis items of the vehicle; the data to be synchronized includes at least one of the project identification data of each single item to be analyzed in the association analysis items, and the analysis result data of the association analysis performed in conjunction with each single item to be analyzed; A synchronization module is used to synchronize the data to be synchronized to the second user terminal.
9. A cloud server, characterized in that: The method comprises a processor and a memory, wherein a computer program is stored in the memory, and the processor executes the computer program to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by at least one processor, the method according to any one of claims 1 to 7 is implemented.
