Multi-terminal data intercommunication system and method, storage medium and intelligent terminal
By designing a multi-terminal data interoperability system and using temporary authorization code to obtain user unique identification and information, the data island problem of users in the battery swap field when using services on different platforms is solved, and seamless docking of user information and improving enterprise operation efficiency is achieved.
Patent Information
- Application Number
- CN202510134229.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-07
- Publication Date
- 2025-05-30
AI Technical Summary
In the field of battery swap, users face problems such as inability to share account information, inconsistent charging records, and incomparable discount activities when using battery swap services on different platforms, resulting in poor user experience and increased company operating costs and management difficulties.
A multi-terminal data interoperability system is designed, including a login module, a temporary authorization module, an identification module and a data interaction module. The user's unique identification and information are obtained through the temporary authorization code to realize data interoperability between multiple platform terminals.
It realizes seamless connection of user information, improves user experience, reduces enterprise operation costs and management difficulties, and optimizes business processes and service experience.
Smart Images

Figure CN120068046A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data interaction technology, and in particular to a multi-terminal data intercommunication system, method, storage medium and intelligent terminal. Background Art
[0002] As the world pays more and more attention to environmental protection and sustainable energy utilization, the transportation industry that uses batteries as energy sources has ushered in opportunities for vigorous development. As an innovative way of energy replenishment, the battery swap model has significant advantages such as high efficiency and convenience compared to the traditional charging model. Many companies have entered the field of battery swapping, trying to seize the initiative in this emerging market. In terms of market promotion, battery swapping companies face the challenge of how to quickly reach a large user base and provide a high-quality service experience. At present, there are many mobile payment and social life service platforms on the market, each with a large number of active users and a strong social network ecology, connecting people with people, people with businesses, people with services, and other aspects. It also has rich business service resources and provides people with convenient business services. The mini-programs launched by various platforms provide a lightweight operating environment for various applications, and users can use related services without having to download and install complex applications.
[0003] Therefore, in the field of battery swapping, in order to expand their business, companies have developed mini-programs on various platforms. However, in the early stages, these mini-programs often operate independently and the data is independent of each other. This leads to problems such as the inability to share account information, inconsistent charging records, and promotional activities when users use battery swapping services on different platforms. For example, a user registers as a member of a battery swapping company on a platform mini-program and enjoys a specific discount package, but the user's membership identity cannot be recognized in another platform mini-program, and the user needs to re-register and purchase the package, which greatly affects the user experience and increases the company's operating costs and management difficulties. Summary of the invention
[0004] In order to solve the problems in the prior art, the present invention provides a multi-terminal data intercommunication system, method, storage medium and intelligent terminal, which realize data intercommunication between multiple platform terminals, improve user experience, and reduce the operating costs and management difficulty of the enterprise.
[0005] In order to achieve the above objectives, the present invention provides a multi-terminal data intercommunication system, comprising:
[0006] The login module is used to call the corresponding login interface according to the platform currently used by the user, and guide the user to interact with the platform for authorization;
[0007] Temporary authorization module, used to request and obtain a temporary authorization code from the platform after authorization by the platform;
[0008] An identification module, which is used to request and obtain the user's unique identifier and the corresponding user information from the authorized platform side using a temporary authorization code, and determine whether the user is registered according to the user's unique identifier;
[0009] A data interaction module, which is used to compare user information or create new user information according to the judgment result of the identification module, and interact with the authorized platform side;
[0010] And a database, which is used to store user information based on the user's unique identifier.
[0011] Furthermore, the data interaction module generates a login status token, returns it to the login module, and stores it in the database.
[0012] Furthermore, the data interaction module marks the sources of the orders and payments of the user interaction operations according to the corresponding authorized platform side, and stores them in the database.
[0013] Furthermore, the user's unique identifier includes the uid corresponding to the same mobile phone number or ID number registered on multiple platform sides.
[0014] Furthermore, the merchant activities of multiple platform sides adopt a universal code mode, with unified activity rules and support for cross-platform use.
[0015] The present invention also provides a multi-terminal data intercommunication method, which adopts the above-mentioned multi-terminal data intercommunication system, and is characterized by including:
[0016] S1. The user uses any platform side to enter the login module. The login module calls the corresponding login interface according to the platform side currently used by the user, and guides the user to perform interactive authorization with the platform side;
[0017] S2. After completing the platform side authorization, the temporary authorization module requests and obtains a temporary authorization code from the platform side, and sends it to the identification module;
[0018] S3. The identification module uses the temporary authorization code to request and obtain the user's unique identifier and the corresponding user information from the platform side. The identification module queries the database through the obtained user's unique identifier to determine whether the user is already registered. If it can be queried, it is determined that the user is already registered; if it cannot be queried, it is determined that the user is not registered;
[0019] S4. If the identification module determines that the user is registered, the data interaction module compares the user information obtained by the identification module with the user information stored in the database to verify the legality of the user identity information. If the user identity information is legal, the user can perform interaction operations with the platform through the data interaction module. If the user identity information is illegal, the data interaction module sends a prompt message to the login module. The login module collects the user identity information and feedbacks it to the data interaction module for comparison until the user identity information is legal, or the interaction with the platform is prohibited after multiple comparisons are illegal.
[0020] If the identification module determines that the user is not registered, the data interaction module creates new user information and stores it in the database. The user can perform interaction operations with the platform through the data interaction module.
[0021] Further, the identification module generates a login status token, returns it to the login module, and stores it in the database.
[0022] Further, the data interaction module marks the source of the user interaction operation order and payment according to the corresponding authorized platform, and stores it in the database.
[0023] A storage medium, the storage medium stores program instructions readable for implementing the above multi-terminal data intercommunication system and the above multi-terminal data intercommunication method.
[0024] The present invention also provides an intelligent terminal, including the above storage medium and the above multi-terminal data intercommunication system. The intelligent terminal can run the program instructions readable and stored by the storage medium to implement the above multi-terminal data intercommunication method.
[0025] Compared with the prior art, the login module of the present invention calls the corresponding login interface according to the platform currently used by the user and guides the user to perform interaction authorization with the platform. The temporary authorization module requests and obtains a temporary authorization code from the platform after the platform authorizes. The identification module uses the temporary authorization code to request and obtain the user unique identifier and the corresponding user information from the authorized platform, and determines whether the user is registered according to the user unique identifier. The data interaction module compares the user information or creates new user information according to the judgment result of the identification module, and interacts with the authorized platform. The database stores the user information based on the user unique identifier. The present invention realizes data intercommunication on each platform based on the user unique identifier. The data intercommunication provides great convenience for users, improves the user experience, and is conducive to the enterprise side to integrate operation resources, improve operation efficiency, reduce operation costs and management difficulties. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 is the system structure schematic diagram of the present invention;
[0027] Figure 2 It is the flowchart of the method of the present invention. Specific embodiments
[0028] The present invention will be further explained below in conjunction with the accompanying drawings of the specification and specific embodiments. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative work belong to the scope of protection of the present application.
[0029] The present invention provides a multi-terminal data intercommunication system. Refer to Figure 1 and includes:
[0030] A login module, configured to call a corresponding login interface according to the platform end currently used by the user, and guide the user to perform interactive authorization with the platform end;
[0031] A temporary authorization module, configured to request and obtain a temporary authorization code from the platform end after the platform end authorizes;
[0032] An identification module, configured to request and obtain a user unique identifier and corresponding user information from the authorized platform end using the temporary authorization code, and determine whether the user is registered according to the user unique identifier; the user unique identifier includes the uid corresponding to the same mobile phone number or ID card number registered on multiple platform ends;
[0033] A data interaction module, configured to compare user information or create new user information according to the judgment result of the identification module, and interact with the authorized platform end; the data interaction module also generates a login status token, returns it to the login module, and stores it in the database; the data interaction module also marks the source of the user interaction operation order and payment for the corresponding authorized platform end and stores it in the database; the merchant activities of multiple platform ends adopt a universal code mode, and the activity rules are unified and support cross-platform use;
[0034] And a database, configured to store user information based on the user unique identifier. The user information includes the user's registration information, login status token, etc., to ensure the security and consistency of user data.
[0035] The present invention also provides a multi-terminal data intercommunication method. Refer to Figure 2 and adopts the above-mentioned multi-terminal data intercommunication system, including:
[0036] S1. The user uses any platform end to enter the login module. The login module calls a corresponding login interface according to the platform end currently used by the user, and guides the user to perform interactive authorization with the platform end;
[0037] S2. After the platform - side authorization is completed, the temporary authorization module requests and obtains a temporary authorization code from the platform - side and sends it to the identification module;
[0038] S3. The identification module uses the temporary authorization code to request and obtain the user's unique identifier and the corresponding user information from the platform - side. The identification module queries the database using the obtained user's unique identifier to determine whether the user is already registered. If it can be queried, it is determined that the user is already registered; if not, it is determined that the user is not registered;
[0039] S4. If the identification module determines that the user is already registered, the data interaction module compares the user information obtained by the identification module with the user information stored in the database to verify the legality of the user's identity information. If the user's identity information is legal, the user can perform interaction operations with the platform - side through the data interaction module; if the user's identity information is illegal, the data interaction module sends a prompt message to the login module, and the login module collects the user's identity information and feeds it back to the data interaction module for comparison until the user's identity information is legal or the interaction operation with the platform - side is prohibited after multiple comparisons are illegal;
[0040] If the identification module determines that the user is not registered, the data interaction module creates new user information and stores it in the database, and the user can perform interaction operations with the platform - side through the data interaction module.
[0041] The identification module also generates a login status token, returns it to the login module, and stores it in the database for subsequent request authentication to ensure that the user remains logged in throughout the session.
[0042] The data interaction module also marks the source of the user's interaction operation orders and payments for the corresponding authorized platform - side and stores them in the database.
[0043] The platform - side of the present invention includes, but is not limited to, platforms such as WeChat, Alipay, QQ, Baidu, Douyin, etc. These platforms can all develop mini - programs. Below, taking the mini - programs developed based on the WeChat and Alipay platforms as examples, the present invention will be described in detail.
[0044] The method of the present invention includes:
[0045] 1. The user clicks the login button in the mini - program to enter the login module;
[0046] 2. The login module calls the login interface of Alipay or WeChat and guides the user to authorize;
[0047] 3. After the user completes the authorization in Alipay or WeChat, the temporary authorization module requests and obtains a temporary authorization code from the platform - side;
[0048] 4. The temporary authorization module sends the temporary authorization code to the identification module;
[0049] 5. The identification module uses the temporary authorization code to request the user's unique identifier (Alipay user ID or WeChat openid) and the corresponding user information from the server of the Alipay or WeChat platform side;
[0050] 6. The server of the Alipay or WeChat platform side returns the user's unique identifier and the corresponding user information;
[0051] 7. The identification module queries the database through the obtained user's unique identifier to determine whether the user is already registered. If it can be queried, it is determined that the user is already registered; if it cannot be queried, it is determined that the user is not registered;
[0052] 8. If the user is already registered, compare the user information obtained from the platform side with the database record to verify the legitimacy of the identity. If the user's identity information is legal, the user performs interactive operations with the platform side through the data interaction module; if the user's identity information is illegal, the data interaction module sends a prompt message to the login module, and the login module collects the user's identity information and feeds it back to the data interaction module for comparison until the user's identity information is legal, or the interaction with the platform side is prohibited after multiple comparisons are illegal;
[0053] 9. If the user is not registered, create a new user record and store it in the database;
[0054] 10. The identification module generates a login status token (token) and returns it to the login module;
[0055] 11. The database stores the login status token for subsequent request verification.
[0056] After the user registers successfully, the system will add a record containing the user's contact information and the registration status of each applet to the user table in the database, and at the same time add a record to the corresponding applet account table. When the user logs in to other applets with the same contact information, the system will not add a new record to the user table, but only update the registration status of the corresponding applet and add a record to the corresponding applet account table. The user's business data is associated through the user table records, thus realizing the decoupling of the business and the applet platform.
[0057] Users can use Alipay or WeChat applets to perform a series of operations such as purchasing packages, renting cars, swapping batteries, returning rentals, and returning deposits. For Alipay applets and WeChat applets, the same mobile phone number or ID number is the same uid, and the data is interconnected. The database saas background adds payment orders and order sources to distinguish whether the order source is WeChat or Alipay. The "invite rebate / invite cashback" activity in Alipay applets and WeChat applets is upgraded to the universal code mode to ensure that the activity rules of both are unified and support cross-platform use.
[0058] The present invention also provides a storage medium, which stores program instructions for implementing the above-mentioned multi-terminal data intercommunication system and the above-mentioned multi-terminal data intercommunication method. All or part of the steps of implementing the above method embodiments can be completed by hardware related to the program instructions. The foregoing program can be stored in a computer-readable storage medium, which can include both built-in storage media in intelligent terminals and, of course, extended storage media supported by intelligent terminals. The storage media include, but are not limited to: various media that can store computer program instructions such as read-only memory (abbreviated as ROM), random access memory (abbreviated as RAM), USB flash drives, mobile hard disks, magnetic disks, or optical discs.
[0059] The present invention also provides an intelligent terminal, including the above-mentioned storage medium and the above-mentioned multi-terminal data intercommunication system. The intelligent terminal can run the program instructions readable and stored by the storage medium to implement the above-mentioned multi-terminal data intercommunication method. The intelligent terminal includes but is not limited to smartphones, tablets, computers, etc. The intelligent terminal at least includes a processor and a storage medium. Among them, the processor and the storage medium can be connected through a bus or other means. The processor can be a central processing unit (CPU). The processor can further include a hardware chip. The above-mentioned hardware chip can be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), etc. The above-mentioned PLD can be a field-programmable gate array (FPGA), a generic array logic (GAL), etc. The storage medium can include volatile memory, such as random-access memory (RAM); the storage medium can also include non-volatile memory, such as flash memory, a solid-state drive (SSD), etc.; the storage medium can also include a combination of the above-mentioned types of memory. The storage medium is used to store computer programs, and the computer programs include computer instructions, and the processor is used to execute the computer instructions. The processor (or CPU (Central Processing Unit, central processor)) is the computing core and control core of the intelligent terminal, which is suitable for implementing one or more computer instructions, specifically suitable for loading and executing one or more computer instructions to implement the corresponding method flow or corresponding function.
[0060] For users in the battery swapping field, data intercommunication can bring great convenience and enhance the user experience. Users do not need to register and log in repeatedly on different platforms. Data such as personal information (such as identity authentication, contact information, vehicle information, etc.), account balance, battery swapping records, and points can be seamlessly docked between mini-programs such as WeChat and Alipay. Users can conveniently query their battery swapping history, remaining battery power, available preferential rights and interests, etc. on any platform. Whether sharing the battery swapping service through WeChat in a social scenario or using Alipay to operate the payment of battery swapping fees in a daily payment scenario, a consistent and smooth service experience can be maintained. This helps to improve user satisfaction and loyalty to the battery swapping service and promotes the long-term stable development of the battery swapping business.
[0061] From the perspective of battery swapping enterprises, data interoperability is conducive to integrating operation resources and optimizing enterprise operation management. Enterprises can conduct centralized analysis of user data on small programs such as WeChat and Alipay through a unified data management system, and more accurately understand user behavior habits, consumption preferences, and demand characteristics. Based on these in-depth data analyses, enterprises can formulate more scientific and reasonable marketing strategies, such as personalized recommended battery swapping packages and precise promotion of preferential activities. At the same time, data interoperability also helps enterprises optimize service processes, reduce the problems of cumbersome business processes and increased error rates caused by data silos, improve operation efficiency, reduce operation costs, and enhance the competitiveness of enterprises in the battery swapping market.
[0062] Data interoperability of small programs such as WeChat and Alipay can help battery swapping enterprises break through platform restrictions and expand the market coverage. By integrating the user traffic resources of multiple platforms, enterprises can reach a wider range of potential user groups. Whether it is users who rely on WeChat social dissemination or those who are used to finding services in the Alipay business service system, they can more easily discover and use the battery swapping small program service. In addition, data interoperability also provides more possibilities for battery swapping enterprises to cooperate with other related industry enterprises. For example, sharing data and carrying out cooperative promotion on the WeChat or Alipay platform with automobile manufacturers, insurance companies, financial institutions, etc., to jointly create a one-stop electric vehicle service ecological chain and achieve a win-win development situation.
[0063] In summary, in the field of battery swapping, data interoperability of small programs such as WeChat and Alipay has important background significance and is driven by various reasons. It can not only enhance the user experience and optimize enterprise operation management, but also expand market coverage and cooperation opportunities. It is an inevitable trend to adapt to the development needs of battery swapping business in the digital age, and is expected to inject new vitality into the continuous prosperity of the battery swapping industry and open up a broader development space.
[0064] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A multi-terminal data intercommunication system, characterized in that: include: The login module is used to call the corresponding login interface according to the platform currently used by the user, and guide the user to interact with the platform for authorization; Temporary authorization module, used to request and obtain a temporary authorization code from the platform after authorization by the platform; The identification module is used to use the temporary authorization code to request and obtain the user's unique identification and corresponding user information from the authorized platform, and determine whether the user is registered based on the user's unique identification; A data interaction module, used to compare user information or create new user information according to the judgment result of the identification module, and to interact with the authorized platform end; and a database for storing user information based on the user's unique identifier.
2. A multi-terminal data intercommunication system according to claim 1, characterized in that: The data interaction module generates a login status token, returns it to the login module, and stores it in the database.
3. A multi-terminal data intercommunication system according to claim 1 or 2, characterized in that: The data interaction module will mark the source of the orders and payments of the user interaction operations according to the corresponding authorized platform end, and store them in the database.
4. A multi-terminal data intercommunication system according to claim 1, characterized in that: The user's unique identifier includes the uid corresponding to the same mobile phone number or ID card number registered on multiple platforms.
5. A multi-terminal data intercommunication system according to claim 1, characterized in that: Merchant activities on multiple platforms adopt a universal code model, with unified activity rules and support for cross-platform use.
6. A multi-terminal data intercommunication method, using a multi-terminal data intercommunication system as claimed in any one of claims 1 to 5, characterized in that: include: S1. The user uses any platform to enter the login module. The login module calls the corresponding login interface according to the platform currently used by the user, and guides the user to interact with the platform for authorization; S2. After completing the platform authorization, the temporary authorization module requests and obtains the temporary authorization code from the platform, and sends it to the identification module; S3. The identification module uses the temporary authorization code to request and obtain the user's unique identification and corresponding user information from the platform. The identification module queries the database through the obtained user's unique identification to determine whether the user has been registered. If the user can be found, it is determined that the user has been registered. If no information is found, it is considered unregistered. S4. If the identification module determines that the user has been registered, the data interaction module compares the user information obtained by the identification module with the user information stored in the database to verify the legitimacy of the user identity information. If the user identity information is legal, the user interacts with the platform through the data interaction module; if the user identity information is illegal, the data interaction module sends a prompt message to the login module, and the login module collects the user identity information and feeds it back to the data interaction module for comparison until the user identity information is legal, or after multiple illegal comparisons, the interaction with the platform is prohibited; If the identification module determines that the user is not registered, the data interaction module creates new user information and stores it in the database. The user interacts with the platform through the data interaction module.
7. A multi-terminal data intercommunication method according to claim 6, characterized in that: The identification module generates a login status token, returns it to the login module, and stores it in the database.
8. A multi-terminal data intercommunication method according to claim 6, characterized in that: The data interaction module marks the source of the orders and payments of the user interaction operations according to the corresponding authorized platform end, and stores them in the database.
9. A storage medium, characterized in that: The storage medium can readablely store program instructions for implementing a multi-terminal data intercommunication system as claimed in any one of claims 1 to 5 and a multi-terminal data intercommunication method as claimed in any one of claims 6 to 8.
10. An intelligent terminal, characterized in that: It includes a storage medium as described in claim 9, and a multi-terminal data intercommunication system as described in any one of claims 1 to 5, and the smart terminal can run the program instructions readable and stored in the storage medium to implement a multi-terminal data intercommunication method as described in any one of claims 6 to 8.