CN110347960A - Data transmit processing method, device, equipment and storage medium - Google Patents
Data transmit processing method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN110347960A CN110347960A CN201910598404.8A CN201910598404A CN110347960A CN 110347960 A CN110347960 A CN 110347960A CN 201910598404 A CN201910598404 A CN 201910598404A CN 110347960 A CN110347960 A CN 110347960A
- Authority
- CN
- China
- Prior art keywords
- server
- user
- article
- mark
- triggering command
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The application provides a kind of data transmitting processing method, device, equipment and storage medium, wherein, this method is applied to access platform, it include: the triggering command in response to receiving, user's mark is obtained from first server and/or local server, wherein, triggering command is used to indicate access platform and carries out user's qualification examination;According to the user's mark got, the target user of second server is determined, wherein target user is the user that the article information with second server pushes qualification;To the article information of second server push target user.The work of target user's confirmation and article information push, separates with the service logic of first server, and execution efficiency is high, maintainable strong;The code degree of coupling between access platform and first server is low, has stronger scalability.
Description
Technical field
This application involves data processing fields more particularly to a kind of data transmitting processing method, device, equipment and storage to be situated between
Matter.
Background technique
With the rapid development of Internet technology, the degree of cooperation between New Media and Internet company is deeper and deeper
Enter, approach to cooperation is also more and more diversified, among these includes the data fusion carried out between different server and data interchange.
Need to carry out the data transmitting of mass data between different server, data transmitting mainly includes user information transmitting and article number
According to transmitting.
In the prior art, when carrying out the data transmitting between server, data transmit work fusion in the industry of server
In logic of being engaged in, specifically, data send server and need to confirm that the target of data collection server is used in data transfer
Family, and the article data of target user is pushed to data collection server, data transfer is based on data and sends server
It is carried out in the mass users information and magnanimity business datum of storage.
However, data transmitting work be coupled in data send server service logic in, when data send server with
Between data collection server, when needing to carry out the user information transmitting and article data transmitting of magnanimity, it is easy the presence of transmitting effect
The low problem of rate;When data send server storage data change or different server between data transmitting advise
When then changing, need to carry out a large amount of code revision and logic Modification, the maintainability of data transfer is poor, expansible
Property is low.
Summary of the invention
The application provides a kind of data transmitting processing method, device, equipment and storage medium, to solve different server
Between carry out the existing maintainable problem poor, transmission efficiency is low of data transmitting.
In a first aspect, the application provides a kind of data transmitting processing method, the method is applied to access platform, described to connect
Entering platform is the medium platform that first server and second server carry out data transmitting, wherein the first server is number
According to the server for sending data in transmitting, the second server is the server that data are received in data transmitting, the access
Platform is provided with local server, the method, comprising:
In response to the triggering command received, user is obtained from the first server and/or the local server
Label, wherein the triggering command is used to indicate the access platform and carries out user's qualification examination;
According to the user's mark got, the target user of the second server is determined, wherein the target user is
The user of article information push qualification with the second server;
The article information of the target user is pushed to the second server.
Further, in response to the triggering command received, from the first server and/or the local server
Obtain user's mark, comprising:
The user's mark in response to the triggering command received, after obtaining change in first server, wherein institute
Stating triggering command is what the access platform was generated in the label Notification of Changes for getting user;Alternatively,
In response to the triggering command received, it is corresponding that the article is obtained from first server and/or local server
The user's mark of user, wherein the triggering command is the access platform in the Status Change notice for getting article
Shi Shengcheng's.
Further, in response to the triggering command received, from first server and/or local server described in acquisition
Article corresponds to the user's mark of user, comprising:
In response to the triggering command received, whether the article state after judging change is what the second server needed
Article state;
When the article state after change is the article state that the second server needs, from first server
And/or the user's mark that the article corresponds to user is obtained in local server.
Further, in response to the triggering command received, from the first server and/or the local server
Obtain user's mark, further includes:
In response to the triggering command received, the user mark of new registration user is obtained from the first server
Note, wherein the triggering command access platform is generated when getting new registration user notice.
Further, according to the user's mark got, the target user of the second server is determined, comprising:
According to the user's mark, the matching user of the second server is determined, wherein the matching user is to agree to
Its user information pushing is given to the user of the second server;
By the user information of the matching user, it is pushed to the second server, and wait the second service to be received
User's auditing result that device returns;
According to user's auditing result, the target user of the second server is determined, wherein the target user is
The second server audits the matching user passed through.
Further, according to the configuration requirement of the second server, Xiang Suoshu second server pushes the target and uses
The article information at family, comprising:
From the first server and/or local server, the article information of the target user is obtained;
According to the configuration requirement of the second server, Xiang Suoshu second server pushes the article letter of preset state
Breath, wherein the article information is the set of article attribute, and the configuration requirement describes the second server requirement push
The article information article state.
Second aspect, the application provide a kind of data transmitting processing unit, comprising:
First acquisition unit, for the triggering command in response to receiving, from the first server and/or the local
User's mark is obtained in server, wherein the triggering command is used to indicate the access platform and carries out user's qualification examination;
First processing units, for determining the target user of the second server according to the user's mark got,
In, the target user is the user that the article information with the second server pushes qualification;
The second processing unit, Xiang Suoshu second server push the article information of the target user.
Further, the first acquisition unit, comprising:
First obtains subelement, for the triggering command in response to receiving, after obtaining change in first server
The user's mark, wherein the triggering command is access platform generation in the label Notification of Changes for getting user
's;
Second obtains subelement, for the triggering command in response to receiving, from first server and/or local server
The middle user's mark for obtaining the article and corresponding to user, wherein the triggering command is that the access platform is being got
It is generated when the Status Change notice of article.
Further, described second subelement is obtained, comprising:
First processing module, for the triggering command in response to receiving, whether the article state after judging change is institute
State the article state of second server needs;
First obtains module, is the article state that the second server needs for article state after change
When, the user's mark that the article corresponds to user is obtained from first server and/or local server.
Further, the first acquisition unit, further includes:
Third obtains subelement, and for the triggering command in response to receiving, new note is obtained from the first server
The user's mark of volume user, wherein the triggering command is the access platform when getting new registration user notice
It generates.
Further, the first processing units, comprising:
First processing subelement, for determining the matching user of the second server according to the user's mark,
In, the matching user is the user agreed to by its user information pushing to the second server;
Second processing subelement, for being pushed to the second server, and wait for the user information of the matching user
User's auditing result that the second server to be received returns;
Third handles subelement, for determining the target user of the second server according to user's auditing result,
Wherein, the target user is that the second server audits the matching user passed through.
Further, described the second processing unit, comprising:
First obtains subelement, for obtaining described in the target user from the local and/or described first server
Article information;
First processing subelement, for the configuration requirement according to the second server, the push of Xiang Suoshu second server
The article information of preset state, wherein the article information is the set of article attribute, and the configuration requirement describes institute
State the article state of the article information of second server requirement push.
The third aspect, the application provide a kind of data transmitting processing equipment, comprising: processor, memory and computer
Program;
Wherein, computer program stores in memory, and is configured as being executed by processor to realize as above any one
Method.
Fourth aspect, the application provide a kind of computer readable storage medium, are stored thereon with computer program, computer
The method that program is executed by processor to realize as above any one.
The application provides a kind of data transmitting processing method, device, equipment and storage medium, wherein the method application
In access platform, the access platform is the medium platform that first server and second server carry out data transmitting, wherein institute
Stating first server is the server that data are sent in data transmitting, and the second server is to receive data in data transmitting
Server, the access platform are provided with local server, the method, comprising: in response to the triggering command received, from institute
It states in first server and/or the local server and obtains user's mark, wherein the triggering command is used to indicate described connect
Enter platform and carries out user's qualification examination;According to the user's mark got, the target user of the second server is determined,
In, the target user is the user that the article information with the second server pushes qualification;According to the second service
The configuration requirement of device, Xiang Suoshu second server push the article information of the target user, and the configuration requirement describes institute
State the article information push request of second server.The work of target user's confirmation and article information push, with first server
Service logic separate, execution efficiency is high, maintainable strong;The code degree of coupling between access platform and first server
It is low, there is stronger scalability.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is the flow diagram that a kind of data provided by the embodiments of the present application transmit processing method;
Fig. 2 is the flow diagram that another data provided by the embodiments of the present application transmit processing method;
Fig. 3 is the structural schematic diagram that a kind of data provided by the embodiments of the present application transmit processing unit;
Fig. 4 is the structural schematic diagram that another data provided by the embodiments of the present application transmit processing unit;
Fig. 5 is the structural schematic diagram that a kind of data provided by the embodiments of the present application transmit processing equipment.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings
It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments
Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
The specific application scenarios of the application are as follows: with the rapid development of Internet technology, New Media and Internet company
Between degree of cooperation it is more and more deep, approach to cooperation is also more and more diversified, include among these between different server into
Capable data fusion and data interchange.Need to carry out the data transmitting of mass data between different server, data transmitting is main
Including user information transmitting and article data transmitting.In the prior art, when carrying out the data transmitting between server, data are passed
Work fusion is passed in the service logic of server, specifically, data send server and need to confirm number in data transfer
According to the target user of reception server, and the article data of target user is pushed to data collection server, data were transmitted
Journey is sent in the mass users information and magnanimity business datum that server stores based on data and is carried out.
However, data transmitting work be coupled in data send server service logic in, when data send server with
Between data collection server, when needing to carry out the user information transmitting and article data transmitting of magnanimity, it is easy the presence of transmitting effect
The low problem of rate;When data send server storage data change or different server between data transmitting advise
When then changing, need to carry out a large amount of code revision and logic Modification, it is maintainable poor.
Data transmitting processing method, device, equipment and storage medium provided by the present application, it is intended to solve in the prior art
Technical problem as above.
Fig. 1 is the flow diagram that a kind of data provided by the embodiments of the present application transmit processing method, and method is applied to connect
Enter platform, access platform is the medium platform that first server and second server carry out data transmitting, wherein first server
For the server for sending data in data transmitting, second server is the server that data are received in data transmitting, access platform
It is provided with local server, as shown in Figure 1, execution includes:
Step 101, the triggering command in response to receiving, obtain user from first server and/or local server
Label, wherein triggering command is used to indicate access platform and carries out user's qualification examination.
In the present embodiment, specifically, the executing subject of the present embodiment is terminal or controller, server, Huo Zheqi
He can execute the device or equipment of the present embodiment.The present embodiment is illustrated by the server of access platform of executing subject.
In based on the data transmitting carried out between server, first server is that the service of data is sent in data transmitting
Device, second server are the server that data are received in data transmitting, access platform be first server and second server into
The medium platform of row data transmitting.The user's mark of first server and article data are sent to second service by access platform
Device, wherein user's mark is the label that first server makes registered users according to user information, and article data is to have infused
The article content data that volume user uploads in first server.Access platform is by the user's mark of first server and article number
According to second server is sent to, the data transmitting between first server and second server is realized.Meanwhile in order to realize
Meaning and accurately data are transmitted, and access platform needs to send the article data of its target user to second server, therefore, connects
Enter platform to be also used for receiving user's auditing result that second server returns.
Illustratively, based on carried out between media server and Internet Server data transmitting in, Internet service
Device is the server that data are sent in data transmitting, i.e. first server, and media server is to receive data in data transmitting
Server, i.e. second server, media server include digital newspaper server, digizine server, digital broadcast service
Device, touch media server etc..Access platform is as the intermediary for carrying out data transmitting between Internet Server and media server
Platform, by Internet Server user's mark and article data be sent to media server, realize Internet Server
Data transmitting between media server.In order to realize accurately data transmitting, access platform is also used for receiving media services
User's auditing result that device returns, and according to user's auditing result, the article data of its target user is sent to media server.
Access platform carries out the medium platform of data transmitting as first server and second server, is stored with part
User's mark and part article information.In data transfer, access platform is obtained from local server and/or first server
User's mark is taken, by pushing user's mark, and user's auditing result that reception second server returns to second server, into
The target user of row audit second server.After determining the target user of second server, access platform is from local service
Article information is obtained in device and/or first server, and according to the configuration requirement of second server, pushes it to second server
The article information of target user.Access platform carries out the medium platform of data transmitting as first server and second server,
The audit of the target user of second server, and the work of the article information to second server push target user are completed,
The service logic of the work and first server that realize target user's confirmation and article information push separates, execution efficiency
Height is maintainable strong.
In access platform after getting the triggering command for carrying out user's qualification examination, from first server and/or local
User's mark is obtained in server, user's mark is first server according to user information, the label made to registered users
Information.Illustratively, first server pushes wish according to the article of subscriber identity information, user's registration channel and user, right
Registered users are marked, and obtain user's mark.
Step 102, according to the user's mark that gets, determine the target user of second server, wherein target user is
The user of article information push qualification with second server.
In the present embodiment, it specifically, being integrated with the user information and article information of a large number of users in first server, uses
Family information is the attribute information set of user, and article information is the attribute information set of the article of user.In first server,
According to the difference of user information, a certain user is identified using different user's marks.The article of user has different articles
State, illustratively, article state include open state, modification state and deletion state etc., and therefore, first server is integrated with
The article information of different article states.When first server and second server carry out data transmitting, access platform is as number
According to the medium platform of transmitting, certain customers' label and part article information are stored in local server.In local server
The user's mark and article information of storage are acquired from first server according to preset configuration requirement.First clothes
When being engaged in device with second server progress data transmitting, according to the user got from first server and/or local server
Label, determines the target user of second server, wherein its article information can be pushed to second server by target user
User.
Step 103, the article information that target user is pushed to second server.
In the present embodiment, specifically, access platform carries out data transmitting as first server and second server
Medium platform, after determining the target user of second server, text of the access platform to second server push target user
Chapter information.Article information is the set of article attribute, and article attribute includes article content navigation, the classification of article text, article, word
The attribute informations such as number statistics.The article information of target user is pushed to second server by access platform, realizes first service
The data transmitting that device is carried out to second server.
In the present embodiment, which transmits processing method and is applied to access platform, and access platform is first server and the
The medium platform of two servers progress data transmitting, wherein first server is the server that data are sent in data transmitting, the
Two servers are the server that data are received in data transmitting, and access platform is provided with local server, this method, comprising: rings
The triggering command that Ying Yu is received obtains user's mark from first server and/or local server, wherein triggering command
It is used to indicate access platform and carries out user's qualification examination;According to the user's mark got, determine that the target of second server is used
Family, wherein target user is the user that the article information with second server pushes qualification;Target is pushed to second server
The article information of user.The verification step of second server target user is executed by access platform, and verification step does not need to merge
In the service logic of first server;Meanwhile to second server push target user's article information push step also by
Access platform executes, and push step is again without fusion in the service logic of first server, and target user confirms and text
The work of chapter information push and the service logic of first server separate, and execution efficiency is high, maintainable strong;Access platform
It is low with the code degree of coupling of first server, there is stronger scalability.
Fig. 2 is the flow diagram that another data provided by the embodiments of the present application transmit processing method, and access platform is made
The medium platform of data transmitting is carried out for first server and second server, as shown in Fig. 2, execution includes:
Step 201, the user after getting the label Notification of Changes of user, after obtaining attribute change in first server
Label;Alternatively, obtaining article pair from first server and/or local server after getting the Status Change notice of article
Using the user's mark at family.
In the present embodiment, specifically, the user property that access platform, which is subscribed to, has first server to provide changes queue, the
When user information in one server changes, the corresponding user's mark of the user can also be changed, access platform with
The label Notification of Changes of user is received in the change queue of family attribute.After getting the label Notification of Changes of user, access platform
User's mark after obtaining attribute change in first server.
Specifically, when the identity information of user changes or the synchronization western medium of user determines to change, user
Corresponding user's mark changes, wherein synchronization western medium is determined as user and provides no agreement for the synchronization of its user information
To the decision of second server.After user's mark changes, access platform receives user from user property change queue
Mark Notification of Changes.After getting the label Notification of Changes of user, access platform obtains attribute change from first server
User's mark afterwards.
When user registers in first server, the synchronization western medium that first server acquires the user is determined, synchronous
Western medium is determined as user and provides the no decision for agreeing to for its user information to be synchronized to other servers.Illustratively, user
When being registered in A network, the synchronization western medium that A network acquires the user is determined, specifically, whether A network acquires the user
Agree to the decision that its user information is synchronized to other servers such as B network, C network, D application software.It will if user agrees to
Its user information is synchronized to B network, then " agrees to its user information being synchronized to B network " that synchronous western medium determines, constitute the user
User's mark.For " western medium " is opposite first server, the Servers-all of data transmitting can be carried out with first server,
That is, all second servers for receiving data are " western medium " when carrying out data transmitting with first server.
Access platform also subscribes to the article Status Change queue for having first server to provide, the article shape in first server
When state changes, access platform receives the Status Change notice of article in article Status Change queue.Getting article
Status Change notice after, access platform judge change after article state whether be article shape required for second server
State, when the article state after change is article state required for second server, access platform from first server and/or
The user's mark that article corresponds to user is obtained in local server;Article state after change is not required for second server
Article state when, access platform is not processed.When article state after change is article state required for second server,
Access platform cannot be directly pushed the article information of this article state to second server, but needs to obtain article to application
The user's mark at family, by user's mark judge the user whether be second server target user.
When user is first server new registration user, first server can be according to the difference of user information, using not
With user's mark identify the user.Access platform obtains all user's marks of new registration user from first server.
User's registration includes registration being completed by the dedicated registration channel that second server provides, and lead to by what first server provided
Registration is completed with registration channel.
Step 202, according to user's mark, determine the matching user of second server, wherein matching user be agree to by its
User of the user information pushing to second server.
In the present embodiment, specifically, user's mark includes the synchronous decision label of western medium of user, western medium is synchronous to be determined to retouch
State whether user agrees to its user information pushing to second server.When the user information of certain user is in first server
Audit passes through, and the synchronous decision of western medium of the user marks when showing that it is agreed to user information pushing to second server, really
It is the matching user of second server that fixed this, which has user,.
When user is to complete registration by the dedicated registration channel that second server provides, without judging that the user's is outer
Matchmaker is synchronous to determine label, passes through without whether the user information for judging the user audits in first server, but directly
Determine that the user agrees to directly determining its user information pushing into the matching that the user is second server to second server
User.
Step 203, the user information that will match user, are pushed to second server, and second server to be received is waited to return
The user's auditing result returned.
In the present embodiment, specifically, access platform will match the user of user according to the configuration requirement of second server
Information is pushed to second server, wherein configuration requirement describes the type of user information of second server needs and interior
Hold.After access platform will match the user information pushing of user to second server, the use that waits second server to be received to return
Family auditing result, wherein user's auditing result describes second server and determines to the audit of the user information received.Because
First server and second server are different to the auditing standards of user information, and therefore, the same subscriber of same user is believed
Breath, first server and second server might have different auditing results.
Step 204, according to user's auditing result, determine the target user of second server, wherein target user second
Server audits the matching user passed through.
In the present embodiment, specifically, access platform is after the user's auditing result for receiving second server passback, root
According to user's auditing result, the target user of second server is determined, wherein target user is that second server audits passed through
With user.Target user is the user that qualification is pushed with article information that second server audit passes through, and is determining second
After the target user of server, the article information of target user can be pushed to second server.
Step 205, the configuration requirement according to second server push the article information of target user to second server,
Configuration requirement describes the article information push request of second server.
Optionally, step 205 includes: the article letter that target user is obtained from first server and/or local server
Breath;According to the configuration requirement of second server, to the article information of second server push preset state, wherein article information
For the set of article attribute, configuration requirement describes the article state of the article information of second server requirement push.
In the present embodiment, specifically, configuration requirement describes the article information state of second server requirement push, text
Chapter information category and/or the article push mode of requirement etc..Different second servers may have different article push configurations
It is required that the configuration requirement of same second server can also be modified, this programme, which can be realized, flexibly to be pushed away to second server
Send the article information of target user.
Access platform obtains the article information of target user from first server and/or local server;According to second
The configuration requirement of server, to the article information of second server push target user's preset state.When the article of target user
When information can be directly acquired from local server, without being obtained in first server.It needs to obtain from first server
The case where taking article information includes: that local server does not store this article information;Or the corresponding user of this article information, it
Preceding is not the target user of second server, and after user property change, which becomes the target user of second server,
Then need to obtain the article information of the user from first server.The article letter that access platform is got from first server
Classification, content, the quantity for the article information that classification, content, quantity and the access platform of breath are pushed to second server may not
Together.Different second servers may have different configuration requirements, and the configuration requirement of same second server can also carry out more
Change.
Illustratively, need " to disclose " in the configuration requirement of second server, " modification ", " deletion " these three states text
The article information of three kinds of states of target user is pushed to second server by chapter information, access platform.Second server obtains
After getting article information, corresponding operation is carried out to article information, for example, being shown, modifying to article information, the behaviour such as undercarriage
Make, realizes the transmission of the article information between first server and second server.
After label Notification of Changes of the present embodiment by getting user, after obtaining attribute change in first server
User's mark;Alternatively, obtaining text from first server and/or local server after getting the Status Change notice of article
Chapter corresponds to the user's mark of user;According to user's mark, the matching user of second server is determined, wherein matching user is same
Meaning is by its user information pushing to the user of second server;The user information of user will be matched, is pushed to second server, and
The user's auditing result returned etc. second server to be received;According to user's auditing result, determine that the target of second server is used
Family, wherein target user is that second server audits the matching user passed through;According to the configuration requirement of second server, to
The article information of two server push target users.The verification step of second server target user is executed by access platform, really
Recognize step not needing to merge in the service logic of first server;Meanwhile believing to second server push target user's article
The push step of breath is also executed by access platform, pushes step again without fusion in the service logic of first server,
The service logic of the work and first server of target user's confirmation and article information push separates, and execution efficiency is high, can
Maintainability is strong;Medium platform of the access platform as first server and the transmitting of second server data, is stored with certain customers
Information and part article information, relatively for first server, the datarams of access platform storage are very little, access platform
After getting the label Notification of Changes of user and/or the Status Change notice of article, without the magnanimity number from first server
The user information changed and/or article information are positioned according to middle, but is directly acquired in the local server of access platform
User information and/or article information, and then the user information changed and/or article information quickly are navigated to, it can be effective
Improve data messaging efficiency, can reduce because user information change and article information change, caused by maintenance cost;Access platform
It is low with the code degree of coupling of first server, there is stronger scalability and maintainability.
Fig. 3 is the structural schematic diagram that a kind of data provided by the embodiments of the present application transmit processing unit, as shown in figure 3, should
Device includes:
First acquisition unit 1, for the triggering command in response to receiving, from first server and/or local server
Middle acquisition user's mark, wherein triggering command is used to indicate access platform and carries out user's qualification examination;
First processing units 2, for determining the target user of second server according to the user's mark got, wherein
Target user is the user that the article information with second server pushes qualification;
The second processing unit 3, for the article information to second server push target user.
In the present embodiment, which transmits processing method and is applied to access platform, and access platform is first server and the
The medium platform of two servers progress data transmitting, wherein first server is the server that data are sent in data transmitting, the
Two servers are the server that data are received in data transmitting, and access platform is provided with local server, this method, comprising: rings
The triggering command that Ying Yu is received obtains user's mark from first server and/or local server, wherein triggering command
It is used to indicate access platform and carries out user's qualification examination;According to the user's mark got, determine that the target of second server is used
Family, wherein target user is the user that the article information with second server pushes qualification;Target is pushed to second server
The article information of user.The verification step of second server target user is executed by access platform, and verification step does not need to merge
In the service logic of first server;Meanwhile to second server push target user's article information push step also by
Access platform executes, and push step is again without fusion in the service logic of first server, and target user confirms and text
The work of chapter information push and the service logic of first server separate, and execution efficiency is high, maintainable strong;Access platform
It is low with the code degree of coupling of first server, there is stronger scalability.
Fig. 4 is the structural schematic diagram that another data provided by the embodiments of the present application transmit processing unit, reality shown in Fig. 3
On the basis of applying example, as shown in figure 4,
First acquisition unit 1, comprising:
First obtains subelement 11, for the triggering command in response to receiving, after obtaining change in first server
User's mark, wherein triggering command is that access platform is generated in the label Notification of Changes for getting user;
Second obtains subelement 12, for the triggering command in response to receiving, from first server and/or local service
The user's mark that article corresponds to user is obtained in device, wherein triggering command is access platform in the Status Change for getting article
It is generated when notice.
Second obtains subelement 12, comprising:
First processing module 121, for the article state after the Status Change notice for getting article, after judging change
Whether be second server need article state;
First obtain module 122, for the article state after change be second server need article state when, from
The user's mark that article corresponds to user is obtained in first server and/or local server.
First acquisition unit 1, further includes:
Third obtains subelement 13 and obtains new registration from first server for the triggering command in response to receiving
The user's mark of user, wherein triggering command is that access platform is generated when getting new registration user notice.
First processing units 2, comprising:
First processing subelement 21, for determining the matching user of second server according to user's mark, wherein matching
User is the user agreed to by its user information pushing to second server;
Second processing subelement 22 is pushed to second server, and wait to be received for that will match the user information of user
User's auditing result that second server returns;
Third handles subelement 23, for determining the target user of second server according to user's auditing result, wherein
Target user is that second server audits the matching user passed through.
The second processing unit 3, comprising:
First obtains subelement 31, for obtaining the article information of target user from local and/or first server;
First processing subelement 32 pushes default shape to second server for the configuration requirement according to second server
The article information of state, wherein article information is the set of article attribute, and configuration requirement describes second server requirement push
The article state of article information.
After label Notification of Changes of the present embodiment by getting user, after obtaining attribute change in first server
User's mark;Alternatively, obtaining text from first server and/or local server after getting the Status Change notice of article
Chapter corresponds to the user's mark of user;According to user's mark, the matching user of second server is determined, wherein matching user is same
Meaning is by its user information pushing to the user of second server;The user information of user will be matched, is pushed to second server, and
The user's auditing result returned etc. second server to be received;According to user's auditing result, determine that the target of second server is used
Family, wherein target user is that second server audits the matching user passed through;According to the configuration requirement of second server, to
The article information of two server push target users.The verification step of second server target user is executed by access platform, really
Recognize step not needing to merge in the service logic of first server;Meanwhile believing to second server push target user's article
The push step of breath is also executed by access platform, pushes step again without fusion in the service logic of first server,
The service logic of the work and first server of target user's confirmation and article information push separates, and execution efficiency is high, can
Maintainability is strong;Medium platform of the access platform as first server and the transmitting of second server data, is stored with certain customers
Information and part article information, relatively for first server, the datarams of access platform storage are very little, access platform
After getting the label Notification of Changes of user and/or the Status Change notice of article, without the magnanimity number from first server
The user information changed and/or article information are positioned according to middle, but is directly acquired in the local server of access platform
User information and/or article information, and then the user information changed and/or article information quickly are navigated to, it can be effective
Improve data messaging efficiency, can reduce because user information change and article information change, caused by maintenance cost;Access platform
It is low with the code degree of coupling of first server, there is stronger scalability and maintainability.
Fig. 5 is the structural schematic diagram that a kind of data provided by the embodiments of the present application transmit processing equipment, as shown in figure 5, this
Application embodiment provides a kind of data transmitting processing equipment, can be used for executing data in Fig. 1-embodiment illustrated in fig. 3 and transmits
Processing equipment movement or step, specifically include: processor 501, memory 502 and communication interface 503.
Memory 502, for storing computer program.
Processor 501, for executing the computer program stored in memory 502, to realize Fig. 1-embodiment illustrated in fig. 4
The movement of middle data transmitting processing equipment, repeats no more.
Optionally, data transmitting processing equipment can also include bus 504.Wherein, processor 501, memory 502 and
Communication interface 503 can be connected with each other by bus 504;Bus 504 can be Peripheral Component Interconnect standard (Peripheral
Component Interconnect, abbreviation PCI) bus or expanding the industrial standard structure (Extended Industry
Standard Architecture, abbreviation EISA) bus etc..Above-mentioned bus 504 can be divided into address bus, data/address bus and
Control bus etc..Only to be indicated with a thick line in Fig. 5, it is not intended that an only bus or a seed type convenient for indicating
Bus.
In the embodiment of the present application, it can mutually be referred to and learnt between the various embodiments described above, same or similar step
And noun no longer repeats one by one.
Alternatively, some or all of above modules can also be embedded in the trajectory predictions by way of integrated circuit
It is realized on some chip of equipment.And they can be implemented separately, and also can integrate together.That is the above module can
To be configured to implement one or more integrated circuits of above method, such as: one or more specific integrated circuits
(Application Specific Integrated Circuit, abbreviation ASIC), or, one or more microprocessors
(Digital Singnal Processor, abbreviation DSP), or, one or more field programmable gate array (Field
Programmable Gate Array, abbreviation FPGA)
A kind of computer readable storage medium, is stored thereon with computer program, computer program be executed by processor with
Realize above-mentioned processing method.
In the above-described embodiments, can come wholly or partly by software, hardware, firmware or any combination thereof real
It is existing.When implemented in software, it can entirely or partly realize in the form of a computer program product.Computer program product
Including one or more computer instructions.When loading on computers and executing computer program instructions, all or part of real estate
Raw process or function according to the embodiment of the present application.Computer can be general purpose computer, special purpose computer, computer network,
Or other programmable devices.Computer instruction may be stored in a computer readable storage medium, or from a computer
Readable storage medium storing program for executing to another computer readable storage medium transmit, for example, computer instruction can from a web-site,
Computer, trajectory predictions equipment or data center are by wired (for example, coaxial cable, optical fiber, Digital Subscriber Line (digital
Subscriber line, DSL)) or wireless (for example, infrared, wireless, microwave etc.) mode to another web-site, calculate
Machine, trajectory predictions equipment or data center are transmitted.Computer readable storage medium can be times that computer can access
What usable medium either includes that the data storages such as the integrated trajectory predictions equipment of one or more usable mediums, data center are set
It is standby.Usable medium can be magnetic medium, and (for example, floppy disk, hard disk, tape), optical medium (for example, DVD) or semiconductor are situated between
Matter (for example, solid state hard disk (solid state disk, SSD)) etc..
It will be appreciated that in said one or multiple examples, the embodiment of the present application describes those skilled in the art
Function can be realized with hardware, software, firmware or their any combination.It when implemented in software, can be by these
Function storage is in computer-readable medium or as the one or more instructions or code progress on computer-readable medium
Transmission.Computer-readable medium includes computer storage media and communication media, and wherein communication media includes being convenient for from a ground
Any medium of direction another place transmission computer program.Storage medium can be general or specialized computer and can access
Any usable medium.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure
Its embodiment.The present invention is directed to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following
Claims are pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claims
System.
Claims (14)
1. a kind of data transmit processing method, which is characterized in that the method is applied to access platform, and the access platform is the
One server and second server carry out the medium platform of data transmitting, wherein the first server is to send out in data transmitting
The server of data is sent, the second server is the server that data are received in data transmitting, and the access platform is provided with
Local server, the method, comprising:
In response to the triggering command received, user's mark is obtained from the first server and/or the local server,
Wherein, the triggering command is used to indicate the access platform and carries out user's qualification examination;
According to the user's mark got, determine the target user of the second server, wherein the target user be with
The user of the article information push qualification of the second server;
The article information of the target user is pushed to the second server.
2. the method according to claim 1, wherein in response to the triggering command received, from first clothes
User's mark is obtained in business device and/or the local server, comprising:
The user's mark in response to the triggering command received, after obtaining change in first server, wherein the touching
Send instructions and is generated in the label Notification of Changes for getting user for the access platform;Alternatively,
In response to the triggering command received, the article is obtained from first server and/or local server and corresponds to user
The user's mark, wherein the triggering command is that the access platform is raw in the Status Change notice for getting article
At.
3. according to the method described in claim 2, it is characterized in that, triggering command in response to receiving, from first server
And/or the user's mark that the article corresponds to user is obtained in local server, comprising:
In response to the triggering command received, whether article state after judging change is article that the second server needs
State;
When the article state after change is the article state that the second server needs, from first server and/or
The user's mark that the article corresponds to user is obtained in local server.
4. the method according to claim 1, wherein in response to the triggering command received, from first clothes
User's mark is obtained in business device and/or the local server, further includes:
In response to the triggering command received, the user's mark of new registration user is obtained from the first server,
In, the triggering command access platform is generated when getting new registration user notice.
5. method according to claim 1-4 determines the second server according to the user's mark got
Target user, comprising:
According to the user's mark, the matching user of the second server is determined, wherein the matching user is to agree to it
User information pushing gives the user of the second server;
By the user information of the matching user, it is pushed to the second server, and the second server to be received is waited to return
The user's auditing result returned;
According to user's auditing result, the target user of the second server is determined, wherein the target user is described
Second server audits the matching user passed through.
6. method according to claim 1-4, which is characterized in that Xiang Suoshu second server pushes the target
The article information of user, comprising:
From the first server and/or local server, the article information of the target user is obtained;
According to the configuration requirement of the second server, Xiang Suoshu second server pushes the article information of preset state,
Wherein, the article information is the set of article attribute, and the configuration requirement describes the second server requirement push
The article state of the article information.
7. a kind of data transmit processing unit characterized by comprising
First acquisition unit, for the triggering command in response to receiving, from the first server and/or the local service
User's mark is obtained in device, wherein the triggering command is used to indicate the access platform and carries out user's qualification examination;
First processing units, for determining the target user of the second server according to the user's mark got, wherein
The target user is the user that the article information with the second server pushes qualification;
The second processing unit, for pushing the article information of the target user to the second server.
8. device according to claim 7, which is characterized in that the first acquisition unit, comprising:
First obtains subelement, for the triggering command in response to receiving, after obtaining change in first server described in
User's mark, wherein the triggering command is what the access platform was generated in the label Notification of Changes for getting user;
Second acquisition subelement is obtained from first server and/or local server for the triggering command in response to receiving
The article is taken to correspond to the user's mark of user, wherein the triggering command is that the access platform is getting article
Status Change notice when generate.
9. device according to claim 8, which is characterized in that described second obtains subelement, comprising:
First processing module, for the triggering command in response to receiving, whether article state after judging change is described the
The article state that two servers need;
First obtain module, for the article state after change be the second server need article state when,
The user's mark that the article corresponds to user is obtained from first server and/or local server.
10. device according to claim 7, which is characterized in that the first acquisition unit, further includes:
Third obtains subelement, for the triggering command in response to receiving, obtains new registration from the first server and uses
The user's mark at family, wherein the triggering command is access platform generation when getting new registration user notice
's.
11. according to the described in any item devices of claim 7-10, the first processing units, comprising:
First processing subelement, for determining the matching user of the second server, wherein institute according to the user's mark
Stating matching user is the user agreed to by its user information pushing to the second server;
Second processing subelement, for being pushed to the second server, and wait waiting for the user information of the matching user
Receive user's auditing result that the second server returns;
Third handles subelement, for determining the target user of the second server according to user's auditing result,
In, the target user is that the second server audits the matching user passed through.
12. according to device described in claim 7-10, which is characterized in that described the second processing unit, comprising:
First obtains subelement, for obtaining the article of the target user from the local and/or described first server
Information;
First processing subelement, for the configuration requirement according to the second server, the push of Xiang Suoshu second server is default
The article information of state, wherein the article information is the set of article attribute, and the configuration requirement describes described the
The article state of the article information of two server requirements push.
13. a kind of data transmit processing equipment characterized by comprising processor, memory and computer program;
Wherein, computer program stores in memory, and is configured as being executed by processor to realize the side such as any one of 1-6
Method.
14. a kind of computer readable storage medium, which is characterized in that be stored thereon with computer program, computer program is located
Device is managed to execute to realize the method such as any one of 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910598404.8A CN110347960B (en) | 2019-07-04 | 2019-07-04 | Data transfer processing method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910598404.8A CN110347960B (en) | 2019-07-04 | 2019-07-04 | Data transfer processing method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110347960A true CN110347960A (en) | 2019-10-18 |
CN110347960B CN110347960B (en) | 2022-03-01 |
Family
ID=68178261
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910598404.8A Active CN110347960B (en) | 2019-07-04 | 2019-07-04 | Data transfer processing method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110347960B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102143236A (en) * | 2011-04-28 | 2011-08-03 | 苏州阔地网络科技有限公司 | Method and system for realizing page-turning synchronization after authentication on webpage |
US20130170450A1 (en) * | 2011-12-29 | 2013-07-04 | Qualcomm Incorporated | Wireless broadcast/multicast service capacity over different link budgets and overlay networks |
CN104573060A (en) * | 2015-01-23 | 2015-04-29 | 徐立水 | Batched doctor information generation method and device applied to medical websites |
CN108389024A (en) * | 2018-04-27 | 2018-08-10 | 浙江宇安消防装备有限公司 | A kind of Intelligent logistics Service Operation system using interconnection network operation |
CN108694649A (en) * | 2018-05-16 | 2018-10-23 | 山东博创知识产权服务有限公司 | A kind of intellectual property trusteeship service platform |
CN108764817A (en) * | 2018-04-25 | 2018-11-06 | 苏州蓝灵网络科技有限公司 | A kind of school-run enterprise's information intercourse platform |
CN109034995A (en) * | 2017-06-08 | 2018-12-18 | 张文 | The method and apparatus for carrying out finance activities using Internet service platform |
-
2019
- 2019-07-04 CN CN201910598404.8A patent/CN110347960B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102143236A (en) * | 2011-04-28 | 2011-08-03 | 苏州阔地网络科技有限公司 | Method and system for realizing page-turning synchronization after authentication on webpage |
US20130170450A1 (en) * | 2011-12-29 | 2013-07-04 | Qualcomm Incorporated | Wireless broadcast/multicast service capacity over different link budgets and overlay networks |
CN104573060A (en) * | 2015-01-23 | 2015-04-29 | 徐立水 | Batched doctor information generation method and device applied to medical websites |
CN109034995A (en) * | 2017-06-08 | 2018-12-18 | 张文 | The method and apparatus for carrying out finance activities using Internet service platform |
CN108764817A (en) * | 2018-04-25 | 2018-11-06 | 苏州蓝灵网络科技有限公司 | A kind of school-run enterprise's information intercourse platform |
CN108389024A (en) * | 2018-04-27 | 2018-08-10 | 浙江宇安消防装备有限公司 | A kind of Intelligent logistics Service Operation system using interconnection network operation |
CN108694649A (en) * | 2018-05-16 | 2018-10-23 | 山东博创知识产权服务有限公司 | A kind of intellectual property trusteeship service platform |
Also Published As
Publication number | Publication date |
---|---|
CN110347960B (en) | 2022-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10887258B2 (en) | Method, system and recording medium for communicating and displaying content in a messenger application | |
US20170323267A1 (en) | System and method for providing work allocation and collaboration | |
US10469415B2 (en) | Apparatus for providing document sharing service based on messaging service, and method using the apparatus | |
KR101695917B1 (en) | Method, system and recording medium for managing group message | |
CN100527080C (en) | Method for software program synchronization | |
KR101880521B1 (en) | Matching users in a location-based service | |
CN105530175A (en) | Message processing method, device and system | |
WO2021044211A1 (en) | Decentralized generation and management of product identifiers and metadata | |
CN102263830B (en) | Apparatus, and associated method, for facilitating background processing of push content | |
CN105900391A (en) | Real-time communications using RESTLIKE API | |
US20130091502A1 (en) | System and method of providing virtual machine using device cloud | |
US20190182184A1 (en) | Providing instant messeging service | |
US11468520B2 (en) | Method, system and recording medium for managing official account | |
US9262241B2 (en) | Computer system, computer-implemented method and computer program product for sequencing incoming messages for processing at an application | |
CN101453487A (en) | Memory to storage communication for hybrid systems | |
US10097482B2 (en) | Method, device, and system for network communication | |
CN103999082A (en) | Method, computer program, and computer for detecting community in social medium | |
CA3065729A1 (en) | Business rules processing framework | |
CN110070394A (en) | Data processing method, system, medium and calculating equipment | |
US11521250B2 (en) | Method and apparatus for providing digital product using user account synchronization | |
US20160156722A1 (en) | Resource migration method and apparatus | |
KR20150136338A (en) | Method of creating multi tenancy history, server performing the same and storage media storing the same | |
US20160330151A1 (en) | Method and system for managing an informational site using a social networking application | |
CN110347960A (en) | Data transmit processing method, device, equipment and storage medium | |
KR101775293B1 (en) | Method, system and recording medium for managing conversation message in messenger |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |