CN106293733B - A kind of method and apparatus that the control page is shown - Google Patents

A kind of method and apparatus that the control page is shown Download PDF

Info

Publication number
CN106293733B
CN106293733B CN201610640892.0A CN201610640892A CN106293733B CN 106293733 B CN106293733 B CN 106293733B CN 201610640892 A CN201610640892 A CN 201610640892A CN 106293733 B CN106293733 B CN 106293733B
Authority
CN
China
Prior art keywords
client
request
group
mark
user
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.)
Active
Application number
CN201610640892.0A
Other languages
Chinese (zh)
Other versions
CN106293733A (en
Inventor
王震
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Media Technology Beijing Co Ltd
Original Assignee
Netease Media Technology Beijing Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Netease Media Technology Beijing Co Ltd filed Critical Netease Media Technology Beijing Co Ltd
Priority to CN201610640892.0A priority Critical patent/CN106293733B/en
Publication of CN106293733A publication Critical patent/CN106293733A/en
Application granted granted Critical
Publication of CN106293733B publication Critical patent/CN106293733B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

Embodiments of the present invention provide a kind of method that the control page is shown.The method that the control page is shown includes: to receive the first request and the second request from the first client and the second client respectively;According to first request and the second request, judge whether the first client and the second client match;In the case where determining the matched situation of the first client and the second client, corresponding instruction is sent at least one of the first client and the second client, so that the page of at least one of the first client and the second client shows and changes.Receive the request of two clients transmission respectively by the way that network side server is arranged, in the case where judging two matched situations of client, realize the interactive operation between two clients, the page variation of another client is controlled by a client, user interaction browse operation demand is met, brings better experience for user.In addition, embodiments of the present invention provide a kind of device that the control page is shown.

Description

A kind of method and apparatus that the control page is shown
Technical field
Embodiments of the present invention are related to Internet communication technology field, more specifically, embodiments of the present invention are related to A kind of method and apparatus that the control page is shown.
Background technique
Background that this section is intended to provide an explanation of the embodiments of the present invention set forth in the claims or context.Herein Description recognizes it is the prior art not because not being included in this section.
With the rapid development of mobile communication technology with the arrival in mobile multimedia epoch, shifting of the mobile phone as people's indispensability Dynamic means of communication evolves into a mobile information collection and processing platform from simple call tool to intelligent development. In current mobile internet era, mobile phone serves as important role as a kind of common terminal.
In traditional application based on C/S (Client/Server, client/server) framework, generally answered by client It is cooperated with program and server-side application and provides service for user.Client application, which refers to, is mounted on terminal On, and information exchange can be carried out with the server of network side, it is run by the mutual cooperation with server-side application, is User provides the client application of service.For example, the news client installed on mobile phone, picture browsing client, electricity Sub-book client etc., belongs to client application.
Different Internet applications can be provided for user by installing different applications clients at the terminal, and more matchmakers The browsing class application of body resource is instantly popular one of Internet application, for example, news client can provide news for user Resource browsing function, videoconference client can provide video resource browsing function etc. for user, and e-book client can be use Family provides books resource browsing function etc..
Summary of the invention
But the browsing pages that existing multimedia resource browse application client provides are typically only capable to by a client It opens, is only a user and service is provided.For example, user A utilizes the news browsing Client browse being installed on terminal A News, user B utilize the news browsing Client browse news being installed on terminal B, and the operation between different user is independent , user A will not influence the page that the client of user B is shown for the operation of client, and user B is directed to the operation of client It will not influence the page that the client of user A is shown.
It can be seen that existing multimedia resource browse application client can not provide the operating work of interaction browsing for user Energy.
Thus, it is also very desirable to a method of the control page is shown, to provide the operating function of interaction browsing for user, is increased Add interactive operation of the different user in browsing multimedia resource process.
In the present context, embodiments of the present invention are intended to provide a kind of method and apparatus that the control page is shown.
In the first aspect of embodiment of the present invention, a kind of method that the control page is shown is provided, comprising:
The first request and the second request are received from the first client and the second client respectively;
According to first request and the second request, judge whether the first client and the second client match;
In the case where determining the matched situation of the first client and the second client, into the first client and the second client At least one sends corresponding instruction, so that the page of at least one of the first client and the second client shows hair Changing.
In the second aspect of embodiment of the present invention, a kind of device that the control page is shown is provided, comprising:
Receiving unit, for receiving the first request and the second request from the first client and the second client respectively;
First judging unit, for judging the first client and the second client according to first request and the second request Whether end matches;
Transmission unit, for the case where first judging unit determines the first client and the second client matching Under, corresponding instruction is sent at least one of the first client and the second client, so that the first client and the The page of at least one of two clients, which is shown, to change.
In the third aspect of embodiment of the present invention, a kind of device that the control page is shown is provided, for example, can wrap Include memory and processor, wherein processor can be used for reading the program in memory, execute following process: respectively from One client and the second client receive the first request and the second request;According to first request and the second request, the is judged Whether one client and the second client match;In the case where determining the matched situation of the first client and the second client, to first At least one of client and the second client send corresponding instruction, so that in the first client and the second client The page of at least one show and change.
In the fourth aspect of embodiment of the present invention, a kind of program product is provided comprising program code, when described Program code is performed, for executing following procedure: respectively from the first client and the second client receive first request and Second request;According to first request and the second request, judge whether the first client and the second client match;Determining In the matched situation of the first client and the second client, phase is sent at least one of the first client and the second client The instruction answered, so that the page of at least one of the first client and the second client shows and changes.
The method and apparatus that the control page of embodiment is shown according to the present invention are distinguished by setting network side server The request for receiving the transmission of two clients is realized between two clients in the case where judging two matched situations of client Interactive operation is changed by the page that a client controls another client, meets user interaction browse operation demand, be User brings better experience.
Detailed description of the invention
The following detailed description is read with reference to the accompanying drawings, above-mentioned and other mesh of exemplary embodiment of the invention , feature and advantage will become prone to understand.In the accompanying drawings, if showing by way of example rather than limitation of the invention Dry embodiment, in which:
Fig. 1 schematically shows the application scenarios schematic diagram of embodiment according to the present invention;
Fig. 2 schematically shows the method implementing procedure signals that the control page of embodiment according to the present invention is shown Figure;
Fig. 3 a schematically shows the client homepage schematic diagram of embodiment according to the present invention;
Fig. 3 b schematically shows the client mode selection page schematic diagram of embodiment according to the present invention;
The two dimensional code page schematic diagram that the client that Fig. 3 c schematically shows embodiment according to the present invention is shown;
Fig. 4 schematically shows the group relation database table structural schematic diagrams of embodiment according to the present invention;
The method implementing procedure signal that the control page that Fig. 5 schematically shows another embodiment according to the present invention is shown Figure;
Fig. 6 schematically shows the method implementing procedure signal that the control page according to yet another embodiment of the invention is shown Figure;
Fig. 7 schematically shows the structural schematic diagram of control page realization device according to another embodiment of the present invention;
In the accompanying drawings, identical or corresponding label indicates identical or corresponding part.
Specific embodiment
The principle and spirit of the invention are described below with reference to several illustrative embodiments.It should be appreciated that providing this A little embodiments are used for the purpose of making those skilled in the art can better understand that realizing the present invention in turn, and be not with any Mode limits the scope of the invention.On the contrary, these embodiments are provided so that this disclosure will be more thorough and complete, and energy It is enough that the scope of the present disclosure is completely communicated to those skilled in the art.
One skilled in the art will appreciate that embodiments of the present invention can be implemented as a kind of system, device, equipment, method Or computer program product.Therefore, the present disclosure may be embodied in the following forms, it may be assumed that complete hardware, complete software The form that (including firmware, resident software, microcode etc.) or hardware and software combine.
Embodiment according to the present invention proposes a kind of method and apparatus that the control page is shown.
Herein, it is to be understood that any number of elements in attached drawing be used to example rather than limit and it is any Name is only used for distinguishing, without any restrictions meaning.
Below with reference to several representative embodiments of the invention, the principle and spirit of the present invention are explained in detail.
Summary of the invention
The inventors discovered that existing provide the client of multimedia browsing function, only it is able to achieve through a client End carries out the function of browse operation, the client between different user be it is independent, be independent of each other, in order to increase user's browsing The interactivity of operation, the embodiment of the invention provides a kind of method for showing of the control page, two clients are by server Request is sent respectively, if server determines two client matchings, may be implemented to control by one of client The page variation that another client is shown, to realize the operating function of interaction browsing.
After introduced the basic principles of the present invention, lower mask body introduces various non-limiting embodiment party of the invention Formula.
Application scenarios overview
It is the application scenarios schematic diagram of the embodiment of the present invention, user 10 and user 20 pass through end respectively referring initially to Fig. 1 In end 11 and terminal 21 client installed carry out interaction browse operation (for convenient for description, in the embodiment of the present invention respectively at The client installed in terminal 11 and terminal 21 is the first client and the second client), the interaction browsing installed in terminal 11 The interaction browsing client (such as can be browser or special APP) installed in client and terminal 21 respectively with set The interaction browser server 31 for being placed in network side connects, and realizes interactive operation by interaction browser server between the two.
Wherein, terminal 11 and terminal 21 can be connected between browser server 31 by communication network with interacting, the communication Network can be local area network, wide area network etc..Terminal 11 and terminal 21 can for portable equipment (such as: mobile phone, plate, notebook Computer etc.), or PC (PC, Personal Computer), interaction browser server 31 can for it is any can The server apparatus of control operating function is provided.
Illustrative methods
Below with reference to the application scenarios of Fig. 1, the control of illustrative embodiments according to the present invention is described with reference to Fig. 2-Fig. 6 The method that the page is shown.It should be noted that above-mentioned application scenarios be merely for convenience of understanding spirit and principles of the present invention and It shows, embodiments of the present invention are not limited in this respect.On the contrary, embodiments of the present invention can be applied to be applicable in Any scene.
As shown in Fig. 2, the implementation process diagram of its method shown for the control page provided in an embodiment of the present invention, it can With the following steps are included:
S21, respectively from the first client and the second client receive first request and second request.
Wherein, the first request can be issued for the first client according to the first user's operation or network side server the One operation instruction is sent after executing corresponding operation, the second request can be operated for second client according to second user or It is sent after the second operation instruction execution corresponding operation that network side issues.
S22, it is requested according to the first request and second, judges whether the first client and the second client match, if so, Step S23 is executed, if not, executing step S21.
When it is implemented, being carried in the second request that the first request and the second client that the first client is sent are sent There is corresponding group of mark of the first client and the second client, be based on this, network side server can be by judging the first request The group that carries identifies whether identical to judge that the first client and the second client are in the group mark and the second request of middle carrying No matching, if identical, determine the first client and the second client match, if it is different, then determine the first client and Second client mismatches.
Wherein, it is any client point in the first client and the second client that described group, which is identified as before first fit, Match, another client in the first client and the second client is assigned with the packet that group client of mark is shared by scanning Group mark is obtained containing a group graphic code for mark.When it is implemented, during subsequent interaction browse operation, group mark It can be constant, or dynamic change, if group is identified as dynamic change, two clients of successful match Need to determine according to identical computation rule its send request in carry group mark.For example, the first client is to sending the One requests itself preceding corresponding group of mark to be handled to obtain the group mark carried in the first request according to preset rules, accordingly , itself corresponding group of mark is handled to obtain the according to same preset rules before the second client requests transmission second The group mark carried in two requests.
S23, corresponding instruction is sent at least one of the first client and the second client, so that the first visitor The page of at least one of family end and the second client, which is shown, to change.
When it is implemented, according to the first request received respectively from the first client and the second client in step S21 It is requested with second, in step S23, network side server can be in accordance with the following methods into the first client and the second client At least one sends corresponding instruction: if the first request executes corresponding operation according to the first user's operation for the first client It sends afterwards, then network side server is in the case where determining the matched situation of the first client and the second client, to the second client It sends the instruction for executing corresponding operating and sends corresponding variation to control the page that the second client is shown;If the second request is Second client after second user operation execution corresponding operation according to what is sent, then network side server is determining the first client Under end and the matched situation of the second client, the instruction for executing corresponding operating is sent to the first client so that the first client is aobvious The page shown sends the corresponding page.
In order to better understand the present invention, specific implementation process of the invention is carried out below in conjunction with specific embodiment detailed It describes in detail bright.
When it is implemented, the first user opens a terminal, the first client installed in 11 enters client homepage, such as schemes It is client homepage schematic diagram shown in 3a, after the first user click starts, into the model selection page, as shown in Figure 3b, First user needs to select corresponding browse mode, including single cpu mode and two kinds of Dual OMU Servers Mode, if the first user selects list Machine mode then enters single machine browse mode, carries out multimedia browsing process by client with existing user and is no different.If User selects Dual OMU Servers Mode then to trigger the method starting that the control page provided in an embodiment of the present invention is shown, at this point, the first client It holds to server and sends the first request, a group mark G1 is carried in the first request, preferably, can also be carried in the first request The corresponding group member's mark of first client, when it is implemented, group member's mark can be terminal iidentification, or the first user's User identifier, wherein terminal iidentification can be the MAC Address of terminal, or be carried out centainly according to the MAC Address of terminal The mark etc. for capableing of unique identification terminal that operation obtains, the embodiment of the present invention to this without limit, for ease of description, Assume in this example that being A.In addition, group mark G1 can be generated at random according to corresponding algorithm.
Network side server searches whether to be stored with identical group of mark G1 in the buffer, if it is not, establishing first The corresponding relationship of the first group of mark carried in request and the first group member mark, and be added in caching, as shown in figure 4, its For the table structure schematic diagram of the group relation database table of server storage.
First client after sending the first request to network side server needs that the second client is waited to be added.Preferably , when it is implemented, the graphic code that second user can be generated by the first client of scanning is added, to obtain the first client Group mark.
When it is implemented, the first client when detecting that Dual OMU Servers Mode is selected, generates two dimensional code as shown in Figure 3c And show, it is can wrap in the two dimensional code containing corresponding group of mark of the first client, second user utilizes 21 end of scan of terminal The two dimensional codes of 11 displays are to trigger the second client terminal start-up, after the second client terminal start-up, identified according to the group carried in two dimensional code, The second request is sent to network side server, wherein the group mark G1 obtained from two dimensional code is carried, preferably, the second client The corresponding group member's mark of the second client can be carried in the second request, it is assumed that be B.
Network side server is after receiving the second request of the second client transmission, according to therein group of mark G1 slow It searches whether to be stored with identical group of mark in depositing, if it finds, and carried in corresponding group member mark and the second request Group member identifies difference, then determines the first client and the second client successful matching.
After judging the first client and the second client successful matching, network side server is respectively to the first client The response that successful matching is returned with the second client, for example, network side server is respectively to the first client and the second client Return to true.
When it is implemented, in order to distinguish the request that the first client and the second client are sent in different time, network side It is corresponding can to remove the group mark G1 stored in caching after determining the first client and the second client successful matching for server Data record.
So far the first client and the second client complete first fit, and the first client and the second client are for the first time After successful match (receiving the response message of the successful matching of network side server return), the first client and the second client End enter waiting for the start play multimedia resource the page, into the page after if detect user triggering start play behaviour Make, then starts to play corresponding multimedia resource.When it is implemented, the multimedia resource can be to be prestored in client , or network side server real time down.
It should be noted that according to embodiments of the present invention, which can be the multimedia resource of special editor, For example, it can be to be divided into two parts for the broadcasting page of same multimedia resource, a part is shown in the first client, in addition A part shows in the second client, after the first user and second user splicing terminal 11 and terminal 21, it can be seen that complete Multimedia resource, in multimedia resource playing process, according to the first user and second user for the first client and the second visitor The broadcasting of the operation control multimedia resource at family end.When it is implemented, can also be according to actual needs the first client and the Two parts resource of two client terminal playings adds part animation effect, for example, the dynamic object in multimedia video or animation In from the first client into the second client etc..Certainly, the first client and the second client can also respectively be shown Show the intact part of same multimedia resource, broadcasting for multimedia resource is only controlled by the first client and the second client It puts.It is described in detail below it.
After the first client and the second client successful match, it can realize according to following any embodiment to multimedia The broadcasting of resource controls:
The first embodiment: any client in the first client and the second client is as control client.
Under this embodiment, the client for actively initiating two-shipper browsing can be preset in the client as control Client (being the first client in this example) or the passive client for carrying out two-shipper browsing are used as control client (in this example i.e. Second client).
As shown in figure 5, it is the implementation diagram according to the first embodiment of the embodiment of the present invention, it may include following Step:
S51, the first client send the first request to network side server.
Non- control after the success of the first client and the second client first fit, in the first client and the second client Client (for ease of description, in this example by taking non-controlling client is the first client as an example) processed needs to network side server The first request is sent, group mark the first group member mark corresponding with the first client is carried in the first request.
The corresponding relationship of the group mark and the first group member mark that are carried in S52, the first request of network side server caching.
Specifically, identifying identical group with the presence or absence of with the group carried in the first request in network side server judgement caching Mark, if it is, successful match is determined, if it is not, then the group mark and first carried in the first request of storage in the buffer The corresponding relationship of group member's mark.
When it is implemented, the group mark carried in the first request remains as G1, if group if group mark immobilizes Dynamic change is identified, then the first client handles G1 according to preset rules to obtain G2, for example, the first client can incite somebody to action G2 is obtained after G1+1.
S53, the second client send the second request to network side server.
When it is implemented, control client (in this example be the second client) detects after the user's operation of second user The second request can be sent to network side server, and group mark second group member corresponding with the second client is carried in the second request Mark and second user execute the operation mark of user's operation.For example, second user, which is clicked, starts broadcast button, at this time the Two clients send the second request to network side server, wherein carrying group mark second group member corresponding with the second client Mark and the corresponding operation mark of beginning play operation.
Equally, if group mark immobilizes, the second client is taken into the second request that network side server is sent The group mark of band remains as G1, if group is identified as dynamic change, the second client according to preset rules (it should be appreciated that It is identical as the rule that the first client handles group mark G1 that the rule is needed) G1 is handled to obtain G2, for example, the Two clients can will obtain G2 after G1+1.
S54, network side server determine the first client and the second client successful match.
Specifically, network side server is identified according to the group that carries in the second request, judge in caching with the presence or absence of with the The group that carries identifies identical group of mark in two requests, and in this example, network side server finds the first client in the buffer The group of transmission identifies, i.e., network side server judges the first client and the second client successful match.
S55, network side server issue operation instruction to the first client.
When it is implemented, network side server is after determining the first client and the second client successful match, according to looking into It is the corresponding first group member mark of the first client that the group found, which identifies corresponding group member's mark, sends and grasps to the first client It indicates, wherein carrying the operation mark carried in the second request.
S56, the first client executing corresponding operation.
Specifically, corresponding operation is executed according to operation mark therein after the first client receives operation instruction, this The first client starts to play multimedia resource in example, and in the above process, the first user has no any operation, and the first client The page of display is but changed, hereby it is achieved that controlling the variation that the first client shows the page by the second client.
When it is implemented, network side server after having issued operation instruction to the first client, needs to clear up in caching The corresponding data record of group mark G1 (if group mark dynamic change, organizing mark should be G2).And the first client is in basis After the operation instruction that network side server is sent has executed corresponding operation, the first request is sent to network side server again, Group mark the first group member mark corresponding with the first client is wherein carried, and the operation for waiting network side server to issue refers to Show.Subsequent operating process is similar with aforesaid operations process, i.e. the second client is after detecting user's operation just to network side Server sends the second request, wherein carrying a group mark, the second group member mark and operation mark, network side server is according to group Identifier lookup is identified to the first group member, and sends the operation mark carried in the second request to the first client accordingly, the first visitor Family end executes corresponding operation according to the operation mark received, and so on, which is not described herein again.
Second of embodiment: the first client and the second client are alternately as control client.
Under this embodiment, need to preassign the client that control client functionality is first carried out, when it is implemented, The client for actively initiating two-shipper browsing be can specify first as control client (i.e. the first client in this example), it can also be with The passive client for carrying out two-shipper browsing is executed first as control client (being the second client in this example).
As shown in fig. 6, it is the implementation diagram according to second of embodiment of the embodiment of the present invention, it may include following Step:
S61, the first client send the first request to network side server.
Non- control after the success of the first client and the second client first fit, in the first client and the second client Client (for ease of description, in this example by taking non-controlling client is the first client as an example) processed needs to network side server The first request is sent, group mark the first group member mark corresponding with the first client is carried in the first request.
The corresponding relationship of the group mark and the first group member mark that are carried in S62, the first request of network side server caching.
Specifically, identifying identical group with the presence or absence of with the group carried in the first request in network side server judgement caching Mark, if it is, successful match is determined, if it is not, then the group mark and first carried in the first request of storage in the buffer The corresponding relationship of group member's mark.
When it is implemented, the group mark carried in the first request remains as G1, if group if group mark immobilizes Dynamic change is identified, then the first client handles G1 according to preset rules to obtain G2, for example, the first client can incite somebody to action G2 is obtained after G1+1.
S63, the second client send the second request to network side server.
And control just can be to network after client (i.e. the second client in this example) detects the user's operation of second user Side server sends the second request, and group mark the second group member mark corresponding with the second client is carried in the second request, with And second user executes the operation mark of user's operation.For example, second user, which is clicked, starts broadcast button, at this time the second client Send the second request to network side server, wherein carry group mark second group member corresponding with the second client identify and Start the corresponding operation mark of play operation.
Equally, if group mark immobilizes, the second client is taken into the second request that network side server is sent The group mark of band remains as G1, if group is identified as dynamic change, the second client according to preset rules (it should be appreciated that It is identical as the rule that the first client handles group mark G1 that the rule is needed) G1 is handled to obtain G2, for example, the Two clients can will obtain G2 after G1+1.
S64, network side server determine the first client and the second client successful match.
Specifically, network side server is identified according to the group that carries in the second request, judge in caching with the presence or absence of with the The group that carries identifies identical group of mark in two requests, and in this example, network side server finds the first client in the buffer The group of transmission identifies, i.e., network side server judges the first client and the second client successful match.
S65, network side server issue operation instruction to the first client.
It is the first client corresponding first that network side server, which identifies corresponding group member's mark according to the group found, Group member's mark sends operation instruction to the first client, wherein carrying the operation mark carried in the second request.
Network side server needs to clear up group in caching and identifies G1 (such as after having issued operation instruction to the first client Fruit group identifies dynamic change, then organizing mark should be G2) corresponding data record.
S66, the first client executing corresponding operation.
After first client receives operation instruction, identical operation is executed according to operation mark therein, is in this example Start to play multimedia resource, in the above process, the first user has no any operation, realizes through the second client control the One client shows the variation of the page.
S67, network side server send response message to the second client.
Under the embodiment, network side server, can be to the second visitor after having issued operation instruction to the first client Family end, which is sent, operates successful response message, for example, network side server sends true to the second client.
It should be noted that when it is implemented, be between step S66 and step S67 it is independent, between the two without certain Ordinal relation.
S68, the second client send the second request to network side server.
Second client is sent to network side server again after the response message for receiving network side server transmission Second request, wherein carrying group mark the second group member mark corresponding with the second client.
The corresponding relationship of the group mark and the second group member mark that are carried in S69, the second request of network side server caching.
Specifically, with the presence or absence of the group mark carried in the second request in network side server judgement caching, if it is, Successful match is determined, if it is not, then the correspondence of the group mark and the second group member mark carried in the second request of storage in the buffer Relationship.
When it is implemented, the group mark carried in the second request remains as G1, if group if group mark immobilizes Dynamic change is identified, then the second client handles G2 according to preset rules to obtain G3, for example, the second client can incite somebody to action G3 is obtained after G2+1.
S610, the first client send the first request to network side server.
And it controls client (at this time control client be the first client) and detects after the user's operation of the first user The first request can be sent to network side server, and group mark first group member corresponding with the first client is carried in the first request Mark and the first user execute the operation mark of user's operation.For example, the first user clicks page-turning button, first is objective at this time Family end sends the first request to network side server, wherein carrying group mark the first group member mark corresponding with the first client And start the corresponding operation mark of play operation.
Equally, if group mark immobilizes, the first client is taken into the first request that network side server is sent The group mark of band remains as G1, if group is identified as dynamic change, the first client according to preset rules (it should be appreciated that It is identical as the rule that the second client handles group mark G2 that the rule is needed) G2 is handled to obtain G3, for example, the One client can will obtain G3 after G2+1.
S611, network side server determine the first client and the second client successful match.
Specifically, network side server is identified according to the group that carries in the first request, judge in caching with the presence or absence of with the The group that carries identifies identical group of mark in one request, and in this example, network side server finds the second client in the buffer The group of transmission identifies, i.e., network side server judges the first client and the second client successful match.
S612, network side server issue operation instruction to the second client.
It is the second client corresponding second that network side server, which identifies corresponding group member's mark according to the group found, Group member's mark sends operation instruction to the second client, wherein carrying the operation mark carried in the first request.
Network side server needs to clear up group in caching and identifies G1 (such as after having issued operation instruction to the second client Fruit group identifies dynamic change, then organizing mark should be G3) corresponding data record.
S613, the second client executing corresponding operation.
After second client receives operation instruction, identical operation is executed according to operation mark therein, so that second The page that client is shown changes, and is to carry out page turn over operation in this example, in the above process, second user has no any behaviour Make, realizes and the variation that the second client shows the page is controlled by the first client.
Equally, network side server to the second client send operation instruction after, clear up its caching in store it is corresponding Data record, and to the first client returning response message, the first client is taken after receiving response message to network side Business device sends the first request, identifies wherein carrying group mark and the first group member, network side server caches the group mark received The second request known the corresponding relationship with the first group member mark, and the second client is waited to send, is requested according to second to first Client sends corresponding operation and indicates so that the page that the first client show changes, subsequent and so on, thus reality The purpose of the first client and the second client wheel flow control page display variation is showed.
Certainly, when it is implemented, if group is identified as dynamic change, the group that server stores before can not also clearing up Corresponding data record is identified, and in order to save the memory space of server, server can be periodically to the group relation table of storage In expired field cleared up.
The method that the control page provided according to embodiments of the present invention is shown, network side is according to the first client received When the request sent with the second client determines the first client and the second client matching, according to user to one of client The operation at end controls that another client executing is identical or corresponding operation, and user has no any operation to another client, So that the page that another client is shown changes, it is thus achieved that control while only operation to single client The page that two clients are shown changes, and improves user experience.
Example devices
After describing the method for exemplary embodiment of the invention, next, exemplary with reference to Fig. 7 description present invention The device that the control page of embodiment is shown.
As shown in fig. 7, the structural schematic diagram of its device shown for the control page provided in an embodiment of the present invention, can wrap It includes:
Receiving unit 71, for receiving the first request and the second request from the first client and the second client respectively;
Wherein, first request is first that first client is issued according to the first user's operation or network side It is sent after operation instruction execution corresponding operation;It is described second request be second client according to second user operate or It is sent after the second operation instruction execution corresponding operation that person's network side issues.
First judging unit 72, for judging the first client and the second visitor according to first request and the second request Whether family end matches;
Transmission unit 73, for determining the matched feelings of the first client and the second client in first judging unit 72 Under condition, send corresponding instruction at least one of the first client and the second client so that the first client and The page of at least one of second client, which is shown, to change.
Preferably, transmission unit 73, if can be used for first request is that first client is used according to first It is sent after family operation execution corresponding operation, then in the case where determining the matched situation of the first client and the second client, to institute It states the second client and sends the instruction for executing corresponding operating;If second request is that second client is used according to second It is sent after family operation execution corresponding operation, then in the case where determining the matched situation of the first client and the second client, to institute It states the first client and sends the instruction for executing corresponding operating.
Preferably, carrying a group mark in the first request and the second request.Based on this, the first judging unit can also be used In:
It is identical to judge that the group mark carried in first request and the group carried in second request identify whether;
If identical, first client and second client matching are determined;If it is not the same, then determining institute State the first client and the second client mismatch.
Wherein, it is any client in described the first client and the second client that described group, which is identified as before first fit, Distribution;And another client in described the first client and the second client is assigned with a group client for mark by scanning What end was shared includes the graphic code of described group of mark to obtain described group of mark.
In some possible embodiments, the device that the control page according to the present invention is shown may include at least one Processing unit and at least one storage unit.Wherein, the storage unit is stored with program code, works as said program code When being executed by the processing unit, so that the processing unit executes described in above-mentioned " illustrative methods " part of this specification The various steps in method that the control page of various illustrative embodiments is shown according to the present invention.For example, the processing is single Member can execute step S21 as shown in Figure 2, receive the first request and second from the first client and the second client respectively Request, step S22 judge whether the first client and the second client match according to the first request and the second request, if It is to execute step S23, if not, executing step S21;Step S23 is determining that the first client and the second client are matched In the case of, corresponding instruction is sent at least one of the first client and the second client, so that the first client It shows and changes with the page of at least one of the second client.
It should be noted that although being referred to several units of device in the above detailed description, this division is only It is illustratively not enforceable.In fact, embodiment according to the present invention, the spy of two or more above-described units Function of seeking peace can embody in a unit.Conversely, the feature and function of an above-described unit can be further It is divided by multiple units and embodies.
In addition, although describing the operation of the method for the present invention in the accompanying drawings with particular order, this do not require that or Hint must execute these operations in this particular order, or have to carry out shown in whole operation be just able to achieve it is desired As a result.Additionally or alternatively, it is convenient to omit multiple steps are merged into a step and executed by certain steps, and/or by one Step is decomposed into execution of multiple steps.
Although detailed description of the preferred embodimentsthe spirit and principles of the present invention are described by reference to several, it should be appreciated that, this It is not limited to the specific embodiments disclosed for invention, does not also mean that the feature in these aspects cannot to the division of various aspects Combination is benefited to carry out, this to divide the convenience merely to statement.The present invention is directed to cover appended claims spirit and Included various modifications and equivalent arrangements in range.

Claims (7)

1. a kind of method that the control page is shown, comprising:
The first request and the second request are received from the first client and the second client respectively;First request is described first It is sent after the first operation instruction execution corresponding operation that client is issued according to the first user's operation or network side;It is described Second request is that the second operation instruction that second client is operated according to second user or network side issues executes accordingly Operation after send;
According to first request and the second request, judge whether the first client and the second client match;
In the case where determining the matched situation of the first client and the second client, at least into the first client and the second client One sends corresponding instruction, specifically includes: if first request is first client according to the first user's operation It is sent after execution corresponding operation, then in the case where determining the matched situation of the first client and the second client, Xiang Suoshu second Client sends the instruction for executing corresponding operating, carries the behaviour carried in the first request in the instruction for executing corresponding operating It makes a check mark;If second request is to send after second client operates execution corresponding operation according to second user , then in the case where determining the matched situation of the first client and the second client, the first client of Xiang Suoshu, which is sent, executes corresponding behaviour The instruction of work, it is described execute corresponding operating instruction in carry the operation mark carried in the second request;So that first The page of at least one of client and the second client, which is shown, to change.
2. according to the method described in claim 1, carrying a group mark in first request and the second request;And
Judge whether the first client and the second client match, specifically include:
It is identical to judge that the group mark carried in first request and the group carried in second request identify whether;
If identical, first client and second client matching are determined;
If it is different, then determining that described the first client and the second client mismatch.
3. according to the method described in claim 2, it is first client and the second visitor that described group, which is identified as before first fit, What any client in the end of family was distributed;And
Another client in described the first client and the second client is assigned with a group client for mark by scanning and shares Include described group of mark graphic code obtain described group of mark.
4. according to the method described in claim 2, the fixed indefinite or described group of mark dynamic change of described group of mark;And
If described group of mark dynamic change, the group carried in first request is identified as to be determined in accordance with the following methods : first client requests itself preceding corresponding group of mark to be handled to obtain according to preset rules to sending described first The group mark carried in first request;
Carry second group be identified as and determine in accordance with the following methods in second request: second client is to transmission Described second requests itself preceding corresponding group of mark to be handled to obtain the group mark carried in the second request according to preset rules.
5. a kind of device that the control page is shown, comprising:
Receiving unit, for receiving the first request and the second request from the first client and the second client respectively;Described first Request is the corresponding behaviour of the first operation instruction execution that first client is issued according to the first user's operation or network side It is sent after work;Second request is the second behaviour that second client is operated according to second user or network side issues It is sent after work instruction execution corresponding operation;
First judging unit, for judging that the first client and the second client are according to first request and the second request No matching;
Transmission unit, in the case where first judging unit determines the matched situation of the first client and the second client, to At least one of the first client and the second client send corresponding instruction, so that the first client and the second client The page at least one of end, which is shown, to change;
The transmission unit, if being specifically used for first request is that first client is executed according to the first user's operation It is sent after corresponding operation, then in the case where determining the matched situation of the first client and the second client, the second client of Xiang Suoshu End sends the instruction for executing corresponding operating, carries the operation mark carried in the first request in the instruction for executing corresponding operating Know;If second request, second client is sent after operating execution corresponding operation according to second user, In the case where determining the matched situation of the first client and the second client, the first client of Xiang Suoshu sends the finger for executing corresponding operating Show, carries the operation mark carried in the second request in the instruction for executing corresponding operating.
6. carrying a group mark in device according to claim 5, first request and the second request;And
First judging unit, is specifically used for:
It is identical to judge that the group mark carried in first request and the group carried in second request identify whether;
If identical, first client and second client matching are determined;If it is not the same, then determining described One client and the second client mismatch.
7. device according to claim 6, it is first client and the second visitor that described group, which is identified as before first fit, What any client in the end of family was distributed;And another client in described the first client and the second client passes through scanning The client sharing for being assigned with group mark includes the graphic code of described group of mark to obtain described group of mark.
CN201610640892.0A 2016-08-08 2016-08-08 A kind of method and apparatus that the control page is shown Active CN106293733B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610640892.0A CN106293733B (en) 2016-08-08 2016-08-08 A kind of method and apparatus that the control page is shown

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610640892.0A CN106293733B (en) 2016-08-08 2016-08-08 A kind of method and apparatus that the control page is shown

Publications (2)

Publication Number Publication Date
CN106293733A CN106293733A (en) 2017-01-04
CN106293733B true CN106293733B (en) 2019-11-19

Family

ID=57666005

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610640892.0A Active CN106293733B (en) 2016-08-08 2016-08-08 A kind of method and apparatus that the control page is shown

Country Status (1)

Country Link
CN (1) CN106293733B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111611516B (en) * 2020-04-11 2023-04-18 上海淇玥信息技术有限公司 Resource allocation method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103069767A (en) * 2010-06-28 2013-04-24 富士通株式会社 Consigning authentication method
CN104488199A (en) * 2014-03-17 2015-04-01 华为终端有限公司 Method of synchronizing contents between terminals and terminals
CN105763650A (en) * 2013-11-26 2016-07-13 北京奇虎科技有限公司 Method, system, terminal device and server for off-line file transmission

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2835952A4 (en) * 2012-12-27 2015-06-03 Huawei Tech Co Ltd Information sharing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103069767A (en) * 2010-06-28 2013-04-24 富士通株式会社 Consigning authentication method
CN105763650A (en) * 2013-11-26 2016-07-13 北京奇虎科技有限公司 Method, system, terminal device and server for off-line file transmission
CN104488199A (en) * 2014-03-17 2015-04-01 华为终端有限公司 Method of synchronizing contents between terminals and terminals

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Kappa "天生一对"双机连线对春联 微信活动;LPI 北京;《https://www.digitaling.com/projects/13724.html》;20150228;第1-5页 *

Also Published As

Publication number Publication date
CN106293733A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
JP6806762B2 (en) Methods and devices for pushing information
CN108770068A (en) A kind of WIFI Frequency Band Selections method, apparatus, storage medium and electronic equipment
CN110096660A (en) Method, apparatus and electronic equipment for loading page picture
US6934777B2 (en) Terminal device, apparatus and method for controlling a terminal device, and method of controlling a process in a terminal device
CN110224920B (en) Sharing method and terminal equipment
CN103078788B (en) A kind of information interacting method based on application and system
US20130031260A1 (en) Method and apparatus for establishing an ad-hoc bi-directional network with an optical identifier
CN112346751B (en) Application program installation method and device, electronic equipment and storage medium
CN109446442A (en) Method and apparatus for handling information
CN105577651A (en) Service providing method and apparatus
CN105872121A (en) Method for connecting terminal with server, terminal and domain name server
CN106534280B (en) Data sharing method and device
CN106293733B (en) A kind of method and apparatus that the control page is shown
CN103248654A (en) Negotiation method, device and system for virtual desktop service parameters
CN106209584A (en) User profile processing method based on the Internet, client and server
CN110659006B (en) Cross-screen display method and device, electronic equipment and readable storage medium
CN110275785A (en) Data processing method, device, client and server
CN110366014A (en) Acquisition methods, television set, server and the mobile terminal of searching character
CN110442806A (en) The method and apparatus of image for identification
US20190238644A1 (en) User identification for digital experience controls
CN106406279B (en) Apparatus testing method and device, electronic equipment
CN111475843B (en) Data processing method and related device
KR101170322B1 (en) Method and device for providing cloud computing service using personal computer based on web
CN104063471B (en) The method and system of web page browsing are carried out in mobile terminal
CN104063470B (en) Web browser method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant