CN116827891A - Optimization method and system for synchronous sharing of mobile internet system data - Google Patents
Optimization method and system for synchronous sharing of mobile internet system data Download PDFInfo
- Publication number
- CN116827891A CN116827891A CN202310212805.1A CN202310212805A CN116827891A CN 116827891 A CN116827891 A CN 116827891A CN 202310212805 A CN202310212805 A CN 202310212805A CN 116827891 A CN116827891 A CN 116827891A
- Authority
- CN
- China
- Prior art keywords
- central service
- data
- user
- service cluster
- forwarded
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 18
- 230000001360 synchronised effect Effects 0.000 title claims abstract description 17
- 238000005457 optimization Methods 0.000 title claims abstract description 14
- 230000006870 function Effects 0.000 description 9
- 238000011161 development Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 241001233242 Lontra Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/90—Buffering arrangements
- H04L49/9084—Reactions to storage capacity overflow
- H04L49/9089—Reactions to storage capacity overflow replacing packets in a storage arrangement, e.g. pushout
- H04L49/9094—Arrangements for simultaneous transmit and receive, e.g. simultaneous reading/writing from/to the storage element
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0823—Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/10—Packet switching elements characterised by the switching fabric construction
- H04L49/103—Packet switching elements characterised by the switching fabric construction using a shared central buffer; using a shared memory
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The application provides an optimization method and system for synchronous sharing of mobile internet system data, comprising the following steps: judging the network position: the client user accesses an intelligent domain name system and judges the network position of the user; a data receiving synchronization step: and according to the network position of the user, receiving the data into a central service database of the central service cluster, and selecting whether to synchronize the received data into a non-central service database of the non-central service cluster. The application has single access and only has unique access to the domain name of the system, and simultaneously supports the advantages shared by a plurality of sets of data systems and the like.
Description
Technical Field
The application relates to the technical field of data synchronous sharing, in particular to a method and a system for optimizing data synchronous sharing of a mobile internet system.
Background
Along with the increasing progress of society, the popularization and development of smart phones are rapid, and further the further development of mobile internet functions is driven. With the large increase of the user quantity and the data quantity, the server side of the mobile internet is given great pressure. Therefore, in order to adapt to different places, the current server system is generally in multi-point deployment and is respectively accessed and used. For example, the same set of systems can be deployed in China, in the United states and in Japan, and each set of systems is independently deployed and independent in data, and has no related information which can be used universally.
The Chinese patent document with publication number of CN115185915A discloses a data sharing processing method, a system and a cloud platform based on Internet, which can be used for intelligently processing an Internet service data set to be shared by combining an information anonymization processing model, determining a distribution description recognition result, and further effectively and timely evaluating privacy anonymization quality according to the distribution description recognition result.
With respect to the related art, the inventor considers that data cannot be synchronized in different places, data cannot be shared, and different systems or domain names are required to be accessed because of different regions, so that discomfort and trouble are easily caused to users.
Disclosure of Invention
Aiming at the defects in the prior art, the application aims to provide an optimization method and system for synchronous sharing of mobile internet system data.
The application provides an optimization method for synchronous sharing of mobile internet system data, which comprises the following steps:
judging the network position: the client user accesses an intelligent domain name system and judges the network position of the user;
a data receiving synchronization step: and according to the network position of the user, receiving the data into a central service database of the central service cluster, and selecting whether to synchronize the received data into a non-central service database of the non-central service cluster.
Preferably, the data reception synchronization step includes a user-centric step of: if the user is at the network position of the central service cluster, when the request is forwarded to the central service cluster, the data is directly written into the central service database; when the request is forwarded to a preset non-central service cluster, the data is written into a central service database and then forwarded to the non-central service database of the preset non-central service cluster through data synchronization software.
Preferably, the data reception synchronization step includes a user non-center step: if the user is at the network position of the non-central service cluster, when the request is forwarded to the central service cluster, the data is written into the central service database through the consistency item, and when the request is forwarded to the preset non-central service cluster, the data is written into the central service database through the consistency item and then is forwarded to the non-central service database when the preset non-central service cluster is performed through the data synchronization software.
Preferably, the consistency item comprises a globally unique data manipulation item.
Preferably, the non-central service cluster is one or more.
The application provides an optimization system for synchronous sharing of mobile internet system data, which comprises the following modules:
a network position judging module: the client user accesses an intelligent domain name system and judges the network position of the user;
a data receiving synchronization module: and according to the network position of the user, receiving the data into a central service database of the central service cluster, and selecting whether to synchronize the received data into a non-central service database of the non-central service cluster.
Preferably, the data receiving synchronization module includes a user-centric module: if the user is at the network position of the central service cluster, when the request is forwarded to the central service cluster, the data is directly written into the central service database; when the request is forwarded to a preset non-central service cluster, the data is written into a central service database and then forwarded to the non-central service database of the preset non-central service cluster through data synchronization software.
Preferably, the data receiving synchronization module includes a user-in-non-center module: if the user is at the network position of the non-central service cluster, when the request is forwarded to the central service cluster, the data is written into the central service database through the consistency item, and when the request is forwarded to the preset non-central service cluster, the data is written into the central service database through the consistency item and then is forwarded to the non-central service database when the preset non-central service cluster is performed through the data synchronization software.
Preferably, the consistency item comprises a globally unique data manipulation item.
Preferably, the non-central service cluster is one or more.
Compared with the prior art, the application has the following beneficial effects:
1. the application has single access and only has unique access to the domain name of the system, and simultaneously supports the advantages shared by a plurality of sets of data systems and the like;
2. the application can give better experience to the user, and can not access different systems or domain names and the like because of different areas, thereby causing discomfort and trouble to the user;
3. the application reduces the complexity of the system, and development/operation staff only need to develop and access an interface aiming at one set of system data, thereby improving the development and access working efficiency.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the detailed description of non-limiting embodiments, given with reference to the accompanying drawings in which:
FIG. 1 is a schematic diagram of the present application.
Detailed Description
The present application will be described in detail with reference to specific examples. The following examples will assist those skilled in the art in further understanding the present application, but are not intended to limit the application in any way. It should be noted that variations and modifications could be made by those skilled in the art without departing from the inventive concept. These are all within the scope of the present application.
In order to realize the data synchronization function of multiple systems, in the global data synchronization method, a central point (IDC) is used for receiving data, and then the central point distributes related data to synchronize, and synchronizes the data to other data nodes (IDC), as shown in fig. 1. As shown in the architecture diagram, the central service system data is directly written into the wx_account database, the non-central service system data is written into the wx_account database through uc-constituency stcy application, at this time, unified writing of the data into the central database is realized, and the data distribution of the central database to other databases is realized by the ter software.
Such as: the globalization project is deployed in China, the United states and Japan, 3 corresponding IDCs exist at the same time, all unique data operations are uniformly recorded to the Chinese IDCs, and 3-point data synchronization is formed from the Chinese IDCs to the United states and Japan, so that the function of all IDC synchronization data is achieved. At this time, registration in the U.S. system can be realized, and registration in the China system can be realized. The scene can give better experience to the user, and different systems or domain names and the like can not be accessed because of different areas, so that discomfort and trouble are caused to the user. The English language of IDC is named Internet Data Center, and the Chinese translation is Internet data center.
The optimization method comprises the following steps:
judging the network position: the client user accesses the intelligent domain name system and judges the network position of the user.
A data receiving synchronization step: and according to the network position of the user, receiving the data into a central service database of the central service cluster, and selecting whether to synchronize the received data into a non-central service database of the non-central service cluster.
The data reception synchronization step includes the steps of:
the user is in the center step: if the user is at the network position of the central service cluster, when the request is forwarded to the central service cluster, the data is directly written into the central service database; when the request is forwarded to a preset non-central service cluster, the data is written into a central service database and then forwarded to the non-central service database of the preset non-central service cluster through data synchronization software.
The user is in the non-central step: if the user is at the network position of the non-central service cluster, when the request is forwarded to the central service cluster, the data is written into the central service database through the consistency item, and when the request is forwarded to the preset non-central service cluster, the data is written into the central service database through the consistency item and then is forwarded to the non-central service database when the preset non-central service cluster is performed through the data synchronization software.
The consistency items include globally unique data manipulation items. The non-central traffic cluster is one or more.
Description:
as shown in fig. 1, wx_auth represents a chinese tin-free item; aws _atuh represents a singapore item; uc_consistency represents a globally unique data operation item; the intelligent cloud represents an intelligent DNS (Domain Name System ); wx_account represents a tin-free database; aws _account represents a singapore database; the Otter is data synchronization software. For a non-central service system, a globally unique data operation project is required to be accessed, because the non-central service system cannot directly operate the central database, and the data of the non-central service system is written into the central database through the project.
The global unique data operation item is a WEB application, can be developed and realized through java, c and other programming languages, has the main functions of providing a data operation interface for an external system to call, and can operate a central service database at the bottom layer, so that an external service system can only operate the central service database through the application.
The specific description is as follows:
1. tin-free, aws _account, singapore deploys items of the same code, wherein the items are respectively connected with independent databases, and the tin-free is wx_account.
2. When the user registers or other functions, the same domain name address is requested, the intelligent DNS judges the network condition, and the network condition is routed to the system nearest to the user. Such as: chinese users are routed to the stannous system (wx_auth) and singapore users are routed to the singapore system (aws _account).
3. The tin-free IDC is used as a core IDC, and all unique data and a central point for distributing external data are used as the data center. And when the intelligent DNS judges that the system is a Chinese user, the intelligent DNS points to the tin-free system for operation. Tin-free system operation data directly operate tin-free IDCs to perform data operation.
4. And when the intelligent DNS judges that the singapore user points to the singapore system to operate. In the singapore system, when a user needs to operate global unique data, the singapore system operates a global unique data operation item (uc_consistency), tin-free IDC data is operated by the item in a unified way, and relevant states, information and the like are returned after the operation is finished.
5. Globally unique data description: representing one set of data, it is necessary to maintain globally unique data in the sharing of multiple sets of systems. Such as a personal account number, an organization account number, etc. The mailbox is globally unique for the same handset number, no matter in which system it can only register once.
6. When the tin-free or singapore user operates the unique data related information, the information can finally reach the tin-free IDC, (the tin-free directly writes the tin-free IDC, the singapore writes the tin-free IDC through UC_CONSISTENCY), and then the unique data in the tin-free IDC is synchronized to the singapore IDC or other IDCs through OTTER software. The data of non-central business is written into the central database through the uc-constancy system.
7. Thus, the function of sharing one set of data and multiple sets of systems is realized. The registered user of singapore can log in China for use, and simultaneously, the user information of China can synchronously log in the singapore IDC, so that the user can log in the singapore for use.
In order to realize the data intercommunication and shared data use of multiple sets of systems deployed in different places, the global data synchronization function must be realized to realize the data synchronization in different places, thus realizing the registration of the system in the United states and the login use in the system in China.
The flow charts of the three regions and the multiple regions are similar to the architecture diagram herein, assuming uc-auth (wx) is the central service system, the other regions are all non-central service systems, which all need to access the uc-consti stcy system, through which data writing into a central database (wx_account) is achieved. After the data is written into the central database, the data of the central database is synchronized to databases of areas of a plurality of non-central systems, such as a singapore database, a United states database and the like through the ter software.
As shown in fig. 1, the client user accesses the unified domain name, i.e. the intelligent cloud determines the network location of the user, and then decides whether to forward the request to the tin-free application cluster or the california application cluster (there may be other application clusters). Assuming that the tin-free application cluster is a central service cluster, when the request is forwarded to the tin-free cluster, the number is directly written into the central service database. When the request is forwarded to the california cluster, the method provided by calling the consistency item is written into the central business database by the inside of the california cluster. The data synchronization of the central business database is realized by special data synchronization software OTTER to the database in California.
The application also provides an optimizing system for the synchronous sharing of the mobile internet system data, which can be realized by executing the flow steps of the optimizing method for the synchronous sharing of the mobile internet system data, namely, a person skilled in the art can understand the optimizing method for the synchronous sharing of the mobile internet system data as the preferred implementation mode of the optimizing system for the synchronous sharing of the mobile internet system data.
The optimization system comprises the following modules:
a network position judging module: the client user accesses the intelligent domain name system and judges the network position of the user.
A data receiving synchronization module: and according to the network position of the user, receiving the data into a central service database of the central service cluster, and selecting whether to synchronize the received data into a non-central service database of the non-central service cluster.
The data receiving synchronization module comprises the following modules:
the user is in the central module: if the user is at the network position of the central service cluster, when the request is forwarded to the central service cluster, the data is directly written into the central service database; when the request is forwarded to a preset non-central service cluster, the data is written into a central service database and then forwarded to the non-central service database of the preset non-central service cluster through data synchronization software.
The user is in a non-central module: if the user is at the network position of the non-central service cluster, when the request is forwarded to the central service cluster, the data is written into the central service database through the consistency item, and when the request is forwarded to the preset non-central service cluster, the data is written into the central service database through the consistency item and then is forwarded to the non-central service database when the preset non-central service cluster is performed through the data synchronization software.
The consistency items include globally unique data manipulation items. The non-central traffic cluster is one or more.
Those skilled in the art will appreciate that the application provides a system and its individual devices, modules, units, etc. that can be implemented entirely by logic programming of method steps, in addition to being implemented as pure computer readable program code, in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc. Therefore, the system and various devices, modules and units thereof provided by the application can be regarded as a hardware component, and the devices, modules and units for realizing various functions included in the system can also be regarded as structures in the hardware component; means, modules, and units for implementing the various functions may also be considered as either software modules for implementing the methods or structures within hardware components.
The foregoing describes specific embodiments of the present application. It is to be understood that the application is not limited to the particular embodiments described above, and that various changes or modifications may be made by those skilled in the art within the scope of the appended claims without affecting the spirit of the application. The embodiments of the application and the features of the embodiments may be combined with each other arbitrarily without conflict.
Claims (10)
1. The optimization method for the synchronous sharing of the data of the mobile internet system is characterized by comprising the following steps of:
judging the network position: the client user accesses an intelligent domain name system and judges the network position of the user;
a data receiving synchronization step: and according to the network position of the user, receiving the data into a central service database of the central service cluster, and selecting whether to synchronize the received data into a non-central service database of the non-central service cluster.
2. The method for optimizing data synchronization sharing of a mobile internet system according to claim 1, wherein the data reception synchronization step comprises a user-centric step of: if the user is at the network position of the central service cluster, when the request is forwarded to the central service cluster, the data is directly written into the central service database; when the request is forwarded to a preset non-central service cluster, the data is written into a central service database and then forwarded to the non-central service database of the preset non-central service cluster through data synchronization software.
3. The method for optimizing data synchronization sharing of a mobile internet system according to claim 1, wherein the data reception synchronization step comprises a user non-center step of: if the user is at the network position of the non-central service cluster, when the request is forwarded to the central service cluster, the data is written into the central service database through the consistency item, and when the request is forwarded to the preset non-central service cluster, the data is written into the central service database through the consistency item and then is forwarded to the non-central service database when the preset non-central service cluster is performed through the data synchronization software.
4. The method for optimizing data synchronization sharing of a mobile internet system according to claim 3, wherein the consistency item comprises a globally unique data manipulation item.
5. The method for optimizing data synchronization sharing of a mobile internet system according to claim 1, wherein the non-central service cluster is one or more.
6. An optimization system for synchronous sharing of mobile internet system data is characterized by comprising the following modules:
a network position judging module: the client user accesses an intelligent domain name system and judges the network position of the user;
a data receiving synchronization module: and according to the network position of the user, receiving the data into a central service database of the central service cluster, and selecting whether to synchronize the received data into a non-central service database of the non-central service cluster.
7. The optimization system for data synchronization sharing of a mobile internet system according to claim 6, wherein the data reception synchronization module comprises a user-centric module: if the user is at the network position of the central service cluster, when the request is forwarded to the central service cluster, the data is directly written into the central service database; when the request is forwarded to a preset non-central service cluster, the data is written into a central service database and then forwarded to the non-central service database of the preset non-central service cluster through data synchronization software.
8. The optimization system for data synchronization sharing of a mobile internet system according to claim 6, wherein the data reception synchronization module comprises a user-off-center module: if the user is at the network position of the non-central service cluster, when the request is forwarded to the central service cluster, the data is written into the central service database through the consistency item, and when the request is forwarded to the preset non-central service cluster, the data is written into the central service database through the consistency item and then is forwarded to the non-central service database when the preset non-central service cluster is performed through the data synchronization software.
9. The optimization system for data synchronization sharing of a mobile internet system of claim 8, wherein the consistency item comprises a globally unique data manipulation item.
10. The optimization system for data synchronization sharing of a mobile internet system according to claim 6, wherein the non-central service cluster is one or more.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310212805.1A CN116827891A (en) | 2023-03-07 | 2023-03-07 | Optimization method and system for synchronous sharing of mobile internet system data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310212805.1A CN116827891A (en) | 2023-03-07 | 2023-03-07 | Optimization method and system for synchronous sharing of mobile internet system data |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116827891A true CN116827891A (en) | 2023-09-29 |
Family
ID=88117391
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310212805.1A Pending CN116827891A (en) | 2023-03-07 | 2023-03-07 | Optimization method and system for synchronous sharing of mobile internet system data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116827891A (en) |
-
2023
- 2023-03-07 CN CN202310212805.1A patent/CN116827891A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110209719B (en) | System and method for unified access of multiple databases based on micro-service architecture | |
CN101179622B (en) | Multi-order processing arrangement in communication system and processing method thereof | |
CN106657314A (en) | Cross-data center data synchronization system and method | |
CN109358847B (en) | Service management platform | |
CN103617255B (en) | A kind of business datum for power information system exchanges and synchronizes system and method | |
CN102455930A (en) | Method for classifying and installing application programs | |
CN102981823B (en) | A kind of domain driven development plug-in system | |
CN102034152A (en) | SOA (Service Oriented Architecture) based heterogeneous software system data integration method and system | |
CN111966779B (en) | Knowledge base management method and system for robot, electronic equipment and storage medium | |
CN111694495A (en) | Method, system and storage medium for rapidly docking third-party APP platform | |
CN109245908A (en) | A kind of method and apparatus of principal and subordinate's cluster switching | |
CN104796389A (en) | Basic data sharing system and method thereof | |
CN109040300A (en) | The method, apparatus and storage medium of PUSH message | |
CN109634764A (en) | Work-flow control method, apparatus, equipment, storage medium and system | |
CN106790187A (en) | System integration method based on total score framework | |
CN110321544A (en) | Method and apparatus for generating information | |
CN113672240A (en) | Container-based multi-machine-room batch automatic deployment application method and system | |
CN110069248A (en) | Call method, device, equipment and the computer readable storage medium of interface data | |
CN112202744A (en) | Multi-system data communication method and device | |
CN103064829A (en) | Copy and paste method based on internet and copy and paste system | |
CN109408539A (en) | Data manipulation method, device, server and storage medium | |
CN116827891A (en) | Optimization method and system for synchronous sharing of mobile internet system data | |
CN102868746A (en) | Method for realizing mobile informationization | |
CN108021456A (en) | touch event processing method, device and operating system | |
CN110096543A (en) | Data operation method, device, server and medium of application program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |