CN109086595A - A kind of business account switching method, system, device and server - Google Patents

A kind of business account switching method, system, device and server Download PDF

Info

Publication number
CN109086595A
CN109086595A CN201810829517.XA CN201810829517A CN109086595A CN 109086595 A CN109086595 A CN 109086595A CN 201810829517 A CN201810829517 A CN 201810829517A CN 109086595 A CN109086595 A CN 109086595A
Authority
CN
China
Prior art keywords
account
client
business
server
business account
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
Application number
CN201810829517.XA
Other languages
Chinese (zh)
Other versions
CN109086595B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810829517.XA priority Critical patent/CN109086595B/en
Publication of CN109086595A publication Critical patent/CN109086595A/en
Application granted granted Critical
Publication of CN109086595B publication Critical patent/CN109086595B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/41User authentication where a single sign-on provides access to a plurality of computers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention provides a kind of business account switching method, system, device and servers, include the second business account in the state switching request the method includes the first user end to server issued state switching request;The server records the second business account, to the second client issued state switching notice and starts anti-switchback mechanism;Second client, to the server issuing service account inquiry request, and obtains the second business account of the server feedback according to mark account;Second client logs in the application program according to the mark account and the second business account.The present invention can meet users' mobile end service switchover account in the case where not reducing user account safety, and desktop end quickly follows the demand of service switchover account.

Description

A kind of business account switching method, system, device and server
Technical field
The present invention relates to the communications field more particularly to a kind of business account switching method, system, device and servers.
Background technique
Existing application software is most of only to be supported to carry out the switching of business account in single client, and for simultaneously two A client carries out the login of identical services account, and the business account in one of client follows another visitor automatically The function that the business account at family end switches over is not supported still.
By taking instant communication software wechat enterprise as an example, support that two clients log in phase in mobile terminal and desktop end simultaneously With business account, but mobile terminal service switchover account will lead to desktop end and be forced offline every time, and user needs again again Client is logged in, this is obviously that user brings inconvenience.
Summary of the invention
The invention proposes a kind of business account switching method, system, device and server, the present invention is specifically with as follows What technical solution was realized:
First part, a kind of business account switching method, the first user end to server issued state is cut in the method Request is changed, includes the second business account in the state switching request;The first business account and the second business account It is corresponding with the mark account;
The server records the second business account, to the second client issued state switching notice;
Second client, to the server issuing service account inquiry request, and is obtained according to the mark account Second business account of the server feedback;
Second client logs in the application program according to the mark account and the second business account.
Second part, a kind of business account switching method, which comprises
Obtain the state switching that the first current business account is switched to the second business account of the first client publication Request, the first business account and the second business account are corresponding with mark account;
The second business account is recorded, to the second client issued state switching notice;
Second client is obtained according to the business account inquiry request of the mark account publication prestored, and to described the Second business account described in two client feedbacks, so that second client is according to the mark account and second industry Business account login application program.
Part III, a kind of business account switching system, the system comprises the first client, the second client and services Device;
First client for authorizing the second client to be answered according to mark account and the login of the first business account in advance Use program;Second client is for saving the mark account and the first business account;
First client is also used to issued state switching request, includes the second business account in the state switching request Number;The first business account and the second business account are corresponding with the mark account;
The server is also used to record the second business account, to the second client issued state switching notice;
Second client is also used to according to the mark account to the server issuing service account inquiry request, And obtain the second business account of the server feedback;According to the mark account and the second business account login Application program.
Part IV, a kind of business account switching device, described device include:
Switching request obtains module, and the first current business account is switched to for obtains that the first client issues The state switching request of two business accounts, the first business account and the second business account are corresponding with mark account;
Second business account logging modle, for recording the second business account;
It notifies release module, is used for the second client issued state switching notice;
Switching module is asked for obtaining second client according to the business account inquiry of the mark account publication prestored It asks, and to the second business account described in second client feedback, so that second client is according to the mark account Number and the second business account login application program.
Part V, a kind of server, operation has a kind of above-mentioned business account switching device in the server.
Part VI, a kind of computer readable storage medium, for storing program, described program is for realizing above-mentioned one Kind business account switching method.
Part VII, a kind of computer program product including instruction, described instruction are held on at least one processor At least one described processor is set to carry out a kind of above-mentioned business account switching method when row.
Part VIII,
A kind of business account switching method, system, device and server provided by the invention, have the following beneficial effects:
The present invention provides a kind of methods of business account switching, can be the case where not reducing user account safety Under, meet users' mobile end service switchover account, desktop end quickly follows the demand of service switchover account.It is cut when using mobile terminal After changing business account, desktop end follows naturally is switched to another business account, does not need to log in again again once, thus Courses of action are shorter in the case that multi-service account switches use, promote user experience.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the schematic diagram of implementation environment provided in an embodiment of the present invention;
Fig. 2 is server cluster schematic diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of business account switching method flow chart provided in an embodiment of the present invention;
Fig. 4 is business accounting number users interface schematic diagram provided in an embodiment of the present invention;
Fig. 5 is that the first client provided in an embodiment of the present invention is logged in using mark account and the first business account using journey The schematic diagram of sequence;
Fig. 6 is provided in an embodiment of the present invention under the authorization of the first client, the second client using mark account and The schematic diagram of first business account login application program;
Fig. 7 is the interface schematic diagram of the first client service switchover account provided in an embodiment of the present invention;
Fig. 8 is that the second client provided in an embodiment of the present invention accordingly carries out the interface schematic diagram after state switching;
Fig. 9 is the method flow of the second client of the first client authorization login application program provided in an embodiment of the present invention Figure;
Figure 10 is that the first client provided in an embodiment of the present invention logs in the second client to certificate server publication The flow chart of authorized order;
Figure 11 is a kind of business account switching method flow chart provided in an embodiment of the present invention;
Figure 12 is a kind of business account switching device block diagram provided in an embodiment of the present invention;
Figure 13 is the structural schematic diagram of terminal provided in an embodiment of the present invention;
Figure 14 is the structural schematic diagram of server provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art without creative labor it is obtained it is all its His embodiment, shall fall within the protection scope of the present invention.
In the prior art, if the second client logs in some application program and needs the item premised on the first client authorization Part, then the second client is not allowed to acquisition and record identification account usually.By taking instant communication software wechat enterprise as an example, Wechat enterprise mobile terminal (the first client) first carries out in the case that user carries out wechat enterprise login or cell-phone number login It identifies account to log in, after mark account logins successfully, then state is logged in by mark account and pulls business account list, user's selection After business account, authorization wechat enterprise desktop end (the second client) logs in wechat enterprise by business account.This technical side Server is only to wechat enterprise desktop end issuing service account to guarantee that wechat enterprise desktop end only logs on to enterprise in case Permission of the permission of the business account of wechat mobile terminal authorization without active service switchover account.However, in this technology In scheme, it is micro- in enterprise to cancel the mobile end subscriber of the wechat enterprise for server after the service switchover account of wechat enterprise mobile terminal Believe that desktop end is corresponding and all log in state, this will lead to the business account that wechat enterprise desktop end prestores and is not available, and enterprise is micro- Believe that desktop end can not carry out subsequent communications with server, also can not just follow wechat enterprise mobile terminal service switchover account.
Application program mobile terminal service switchover account can not be followed in order to solve application program desktop end in the prior art For problem, the embodiment of the invention provides a kind of business account switching methods.
Referring to FIG. 1, it illustrates the schematic diagrames of implementation environment provided by one embodiment of the present invention.The implementation environment packet It includes: first terminal 120, server 140 and second terminal 160.
Operation has the first client in first terminal 120.First terminal 120 can be mobile terminal, palm PC, individual Digital assistants (PDA), operation has the second family end in second terminal 160.Second terminal 160 can with desktop computer, tablet computer, Palm PC.For example, the first client can be instant messaging application program cell phone client, the second client be can be immediately Communication application program desktop client end.In practical applications, when the client run in terminal device is for realizing present invention side In method example when the function of the first client-side, which is used as first terminal;As the client run in terminal device End is for realizing when the function of the second client-side, which is used as second terminal in the method for the present invention example.
Server 140 can be a server, be also possible to the server cluster consisted of several servers, or It is a cloud computing service center.
Server 140 can be established with first terminal 120 and second terminal 160 respectively by communication network and be communicated to connect. The network can be wireless network, be also possible to cable network.
In one example, as shown in Fig. 2, the server 140 may include: when server 140 is aggregated structure Certificate server 142, ticket authorisation server 144, service server 146.The service server 146 can have it is multiple, no Different business is provided with service server 146.Such as mailbox service, chat service, game service, video traffic, payment transaction, Life business etc..
Certificate server 142 for providing authentication service, test by the accessible customer data base of the certificate server 142 It demonstrate,proves user information (legitimacy of account number cipher), and issues and the one-to-one account authorization bill of user information.The certification Server 142 can also obtain the user for holding the first client for providing to the second client with the first client communication The license of authentication service.
Ticket authorisation server 144 for providing ticket authorisation service, the ticket authorisation server 144 can issue with The relevant business bill of specific business.
Service server 146 is used to provide business corresponding with business bill to second terminal 160.
Wherein certificate server 142 is communicated to connect with first terminal 120 and second terminal 160.The ticket authorisation Server 144 and service server are communicated to connect with second terminal 160.
A kind of business account switching method provided by one embodiment of the present invention, this method can be applied to implement shown in Fig. 1 In environment, as shown in figure 3, the first client authorizes the second client according to mark account and the first business in advance in the method Account login application program, so that second client saves the mark account and the first business account, it is described Method further include:
S101. the first user end to server issued state switching request includes the second industry in the state switching request Business account;The first business account and the second business account are corresponding with the mark account.
The mark account and user information correspond, and by taking wechat enterprise as an example, the mark account can be user Cell-phone number and user's wechat enterprise number.One mark account can correspond to multiple business accounts, for example, user A can have it is a variety of Social relationships, and each social relationships may correspond to a business account.As shown in figure 4, user A has three business accounts Number, respectively dear big family, company and football club switch between this three business accounts, before switching Account be the first business account, account after switching is the second business account.
S102. the server records the second business account, to the second client issued state switching notice and opens Move anti-switchback mechanism;The anti-switchback mechanism is for avoiding the second client according to the mark account and the first business account Number log in the application program.
The second client login application program needs to rely on the authorization of the first client in the embodiment of the present invention, therefore, First client may be employed the random switching of program state, and the second client is merely able to keep and the first client State synchronized removes switching oneself state for the switching of application program logging state in response to the first client.If the first visitor The corresponding logging state of first business account is switched to the corresponding logging state of the second business account by family end, then the second client It should synchronize and switch over, and go back while needing while preventing the second client from logging state being switched back into the first business again The corresponding logging state of account, therefore, after the first client issued state switching request, server starts anti-switchback machine System, to prevent the second client from state is switched back into the corresponding logging state of the first business account.
Specifically, after the first user end to server issued state is requested, server can carry out anti-switchback record, institute Anti- switchback record is stated to be mainly used for marking the mark account and the first business account so that ought the second client according to the When one business account requests to log in or inquire the state of the first client to server, server returns to offline mistake Code prompts current second client to be in down status, to guarantee that the second client will not cross the first client Control arbitrarily switches the logging state of application program.
By taking instant communication software wechat enterprise as an example, it is micro- that wechat enterprise desktop end logs in the wechat enterprise enterprise that needs to rely on The authorization of mobile terminal is believed, if wechat enterprise mobile terminal party A-subscriber logs in wechat enterprise according to the first business account, correspondingly, enterprise Industry wechat desktop end can only log in wechat enterprise also according to the first business account.If party A-subscriber is in wechat enterprise mobile terminal by One business account switches to the second business account and logs in wechat enterprise, then correspondingly, wechat enterprise desktop end can only synchronize basis Second business account logs in wechat enterprise, and the logging state traditional method of indicating the pronunciation of a Chinese character cannot be returned the first business account again.I.e. wechat enterprise is mobile The switching of the logging state at end can be with synchronous impact wechat enterprise desktop end, and wechat enterprise desktop end can not change wechat enterprise The logging state of mobile terminal.
S103. second client according to the mark account to the server issuing service account inquiry request, And obtain the second business account of the server feedback.
S104. second client logs in described using journey according to the mark account and the second business account Sequence.
As shown in the above, the first client can not be followed to carry out business in order to solve the second client in the prior art Mark account is transmitted to the second client in the embodiment of the present invention by the problem of account switches, and the second client is by saving mark Know account and have the condition continued after the first client service switchover account with server communication, also just has and follow the The ability of one client progress service condition switching.
But as described in the aforementioned prior art referred to, account will be identified in the prior art by, which avoiding, is transmitted to the second client End is in order to guarantee that the second client does not have the permission of active service switchover account, therefore, in order to avoid the second client makes Carries out switchback with mark account, in server side provided with anti-switchback mechanism in the embodiment of the present invention, to both maintain the One client actively carries out the dominant right of business account switching, and realizes the second client and the first client is followed to carry out automatically The technical purpose of account switching.
Referring to FIG. 5, it illustrates the first clients to use mark account and the first business account login application program Schematic diagram.In Fig. 5, mark account is " willing " corresponding account, and the first business account is corresponding " test group ".Phase It answers, referring to FIG. 6, the second client uses mark account and the first business it illustrates under the authorization of the first client The schematic diagram of account login application program.Referring to FIG. 7, it illustrates the signals of the interface of the first client service switchover account Figure.In Fig. 7, mark account is " willing " corresponding account, its business account is switched to and " is risen from " test group " News ".Referring to FIG. 8, it illustrates the second clients accordingly to carry out the interface schematic diagram after state switching.
The embodiment of the invention provides a kind of methods of business account switching, can not reduce user account safety In the case of, meet users' mobile end service switchover account, desktop end quickly follows the demand of service switchover account.It is moved when using After holding service switchover account, desktop end, which naturally follows, is switched to another business account, does not need to log in again again once, from And in the case where multi-service account switches use, courses of action are shorter, promote user experience.
The embodiment of the present invention can be applied to following application scenarios.Application program is logged in the first client and second is objective Family end logs in simultaneously, and first client can run on iOS terminal or Android terminal, and second client can To run on windows operating system or Mac operating system.User's service switchover account of first client needs the second visitor Automatically switch the occasion of business account therewith in family end.
After a kind of business account switching method disclosed by the embodiments of the present invention, when the first client service switchover account Afterwards, the second client can follow switching automatically, log on without exiting.Further, in order to promote user experience, Second client is after following service switchover account automatically, additionally it is possible to maintain the Application Program Interface after service switchover account Original display position is not jumped to top and is shown.The advantage designed in this way is, the process of service switchover account Too lofty interface is not had to change, and reduces the harassing and wrecking for user.
After the first client service switchover account, if the application program of the second client is open state, pop-up is mentioned Show, the business account of user's application program is prompted to have occurred and that change.
After the first client service switchover account, if the application program of the second client is in off state, in response to The business account of the application program open command of second client, the application program of the second client is changed automatically.
No matter the embodiment of the present invention realizes whether the second client currently logs in, the industry of the second client can be kept Account of being engaged in is synchronous with the first client, so as to avoid user after switching the first client, it is also necessary to operate the second visitor Family end carries out the switching of business account, shortens the courses of action of user, promotes user experience.
In order to promote the account number safety of application program, safeguards that the data of user are not got compromised, mentioned in the embodiment of the present invention For the method for first client authorization the second client login application program, as shown in Figure 9, which comprises
S201. the first client issues the authorized order logged in the second client to certificate server, so that certification Server generates account authorization bill and the first encryption key, and the account authorization bill is total to by account authorization data by first It enjoys key encryption and obtains, the account authorization data includes the first encryption key and the first encryption data, the first encryption number According to include the corresponding mark account of the first client by obtained data after the first encryption keys and authorized client Facility information by obtained data after the first encryption keys.
Being authorized to client in this step is the second client.
S202. certificate server issues account authorization bill to the second client.
S203. the second client is asked according to the account authorization bill to the initiation business bill acquisition of ticket authorisation server It asks.
The ticket authorisation server and the certificate server share the first shared key.
The business bill acquisition request is also referred to as business account inquiry request.
S204. the ticket authorisation server decrypts the account authorization bill according to first shared key and obtains account Number authorization data;The first encryption key is obtained in the account authorization data, and according to first encryption key to first Encryption data is decrypted, and obtains the facility information for being authorized to client;Judge be authorized to client facility information whether with The facility information for the second client for initiating business bill acquisition request to it is identical, if then to the second client issuing service Bill, the business bill are obtained by business datum by the encryption of the second shared key, and the business datum includes the second encryption Key and the second encryption data, second encryption data include business account by obtained number after the first encryption keys According to the facility information with authorized client by obtained data after the second encryption keys.
It specifically, is the first business account logging in business account described in link.
S205. the second client initiates logging request to service server according to business bill.
S206. the service server decrypts the business bill according to second shared key and obtains business datum; The second encryption key is obtained in the business datum, and the second encryption data is solved according to second encryption key It is close, obtain the facility information for being authorized to client;Judge whether the facility information for being authorized to client asks with to its initiation login The facility information for the second client asked is identical, if so, generate session, and to the second client return login successfully notice with And CIPHERING REQUEST head.
The ticket authorisation server and the service server share the second shared key.
Specifically, session (session) in a computer, especially in network application, referred to as " session control ". Attribute and configuration information needed for Session object stores specific user's session.
S207. the second client, which is shown, successfully logs in the business account.
The CIPHERING REQUEST body can also be referred to as hkey, can be used as the CIPHERING REQUEST head of CGI, for guaranteeing base The safety communicated between the second client and service server is carried out in CGI.CGI (Common Gateway Interface) is One of most important technology in WWW technology is the interface standard between external application (cgi script) and WEB server, is The process of information is transmitted between cgi script and Web server.
Further, the embodiment of the present invention discloses what the first client logged in the second client to certificate server publication The specific method of authorized order, as shown in Figure 10, comprising:
S2011. the second client is issued to certificate server obtains certification identification request, wraps in the certification identification request Include the facility information of the second client.
Specifically, the certification mark that second client request obtains can be two dimensional code and bar code.
S2012. certificate server generates certification mark, records between the certification mark and the second client device information Corresponding relationship, and by the certification identification transmission to the second client.
S2013. the second client shows the certification mark.
S2014. the first client reports the barcode scanning for the certification mark to act and issue to the certificate server Authorized order.
Specifically, the user of the first client can scan the certification mark, to drive the first client to certification Server reports barcode scanning to act, and the user of the first client can issue authorized order at the interface of the first client.
S2015. the certificate server generates account authorization bill and the first encryption key.
Further, after step s 102, if if the second client still passes through the first business account to server Communication request is issued, then server can return to the offline mistake of current business account.Then, the second client can execute automatically Step S103.
In order to promote account number safety, mark account is encapsulated in account authorization bill, and the second business account is packed In business bill, therefore the execution logic of the execution logical AND step S203-S207 of step S103-S104 is identical.
The embodiment of the present invention further provides for a kind of business account switching method, and the method is to execute master with server Body, as shown in figure 11, which comprises
S301. the state that the first current business account is switched to the second business account of the first client publication is obtained Switching request, the first business account and the second business account are corresponding with mark account.
S302. server records the second business account, to the second client issued state switching notice and starts anti- Switchback mechanism;The anti-switchback mechanism is for avoiding the second client from being stepped on according to the mark account and the first business account Record the application program.
S303. second client is obtained according to the business account inquiry request of the mark account publication prestored, and to Second business account described in second client feedback, so that second client is according to the mark account and described Second business account logs in the application program.
The embodiment of the invention also provides a kind of business account switching systems, and the system comprises the first clients, second Client and server;
First client for authorizing the second client to be answered according to mark account and the login of the first business account in advance Use program;Second client is for saving the mark account and the first business account;
First client is also used to issued state switching request, includes the second business account in the state switching request Number;The first business account and the second business account are corresponding with the mark account;
The server is also used to record the second business account, to the second client issued state switching notice and opens Move anti-switchback mechanism;The anti-switchback mechanism is for avoiding the second client according to the mark account and the first business account Number log in the application program;
Second client is also used to according to the mark account to the server issuing service account inquiry request, And obtain the second business account of the server feedback;According to the mark account and the second business account login Application program.
The embodiment of the invention also provides a kind of business account switching devices, and as shown in figure 12, described device includes:
Switching request obtains module 401, for obtaining the switching the first current business account of the first client publication For the state switching request of the second business account, the first business account and the second business account with mark account pair It answers;
Second business account logging modle 402, for recording the second business account;
It notifies release module 403, is used for the second client issued state switching notice;
Anti- switchback module 404, for starting anti-switchback mechanism;The anti-switchback mechanism for avoid the second client according to The mark account and the first business account log in the application program;
Switching module 405 is looked into for obtaining second client according to the business account of the mark account publication prestored Request is ask, and to the second business account described in second client feedback, so that second client is according to the mark Know account and the second business account logs in the application program.
It should be noted that device and system provided by the above embodiment, when realizing its function, only with above-mentioned each function The division progress of module can according to need and for example, in practical application by above-mentioned function distribution by different function moulds Block is completed, i.e., the internal structure of equipment is divided into different functional modules, to complete all or part of function described above Energy.In addition, apparatus and method embodiment provided by the above embodiment belongs to same design, specific implementation process is detailed in method reality Example is applied, which is not described herein again.
The embodiments of the present invention also provide a kind of storage medium, the storage medium can be used for saving for realizing implementation A kind of program code that business account switching method needs to use in example.
Optionally, in the present embodiment, above-mentioned storage medium can be located in multiple network equipments of computer network At least one network equipment.Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk read-only is deposited Reservoir (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, The various media that can store program code such as magnetic or disk.
Figure 13 is please referred to, it illustrates the structural schematic diagrams of terminal provided by one embodiment of the present invention.The terminal is used for The function of first client or the second client in a kind of business account switching method provided in above-described embodiment is provided.
The terminal may include RF (Radio Frequency, radio frequency) circuit 110, include one or more The memory 120 of computer readable storage medium, input unit 130, display unit 140, sensor 150, voicefrequency circuit 160, WiFi (wireless fidelity, Wireless Fidelity) module 170, the processing for including one or more than one processing core The components such as device 180 and power supply 190.It will be understood by those skilled in the art that terminal structure shown in Figure 13 is not constituted pair The restriction of terminal may include perhaps combining certain components or different component cloth than illustrating more or fewer components It sets.Wherein:
RF circuit 110 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, one or the processing of more than one processor 180 are transferred to;In addition, the data for being related to uplink are sent to Base station.In general, RF circuit 110 includes but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, uses Family identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplex Device etc..In addition, RF circuit 110 can also be communicated with network and other equipment by wireless communication.The wireless communication can make With any communication standard or agreement, and including but not limited to GSM (Global System of Mobile communication, entirely Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), Email, SMS (Short Messaging Service, short message service) etc..
Memory 120 can be used for storing software program and module, and processor 180 is stored in memory 120 by operation Software program and module, thereby executing various function application and data processing.Memory 120 can mainly include storage journey Sequence area and storage data area, wherein storing program area can application program needed for storage program area, function etc.;Storing data Area, which can be stored, uses created data etc. according to the terminal.In addition, memory 120 may include that high random access is deposited Reservoir can also include nonvolatile memory, for example, at least a disk memory, flush memory device or other volatibility Solid-state memory.Correspondingly, memory 120 can also include Memory Controller, to provide processor 180 and input unit The access of 130 pairs of memories 120.
Input unit 130 can be used for receiving the number or character information of input, and generate and user setting and function Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 130 may include touching Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad are collected and are used Family on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive table Operation on face 131 or near touch sensitive surface 131), and corresponding attachment device is driven according to preset formula.It is optional , touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used The touch orientation at family, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touch Touch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and can receive processor 180 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch sensitive surface 131.In addition to touch sensitive surface 131, input unit 130 can also include other input equipments 132.Specifically, Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), One of trace ball, mouse, operating stick etc. are a variety of.
Display unit 140 can be used for showing information input by user or the information and the terminal that are supplied to user Various graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof. Display unit 140 may include display panel 141, optionally, can use LCD (Liquid Crystal Display, liquid crystal Show device), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display panel 141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 detects touching on it or nearby After touching operation, processor 180 is sent to determine the type of touch event, is followed by subsequent processing device 180 according to the type of touch event Corresponding visual output is provided on display panel 141.Although touch sensitive surface 131 and display panel 141 are conducts in Figure 13 Two independent components realize input and input function, but in some embodiments it is possible to by touch sensitive surface 131 and display Panel 141 is integrated and realizes and outputs and inputs function.
The terminal may also include at least one sensor 150, such as optical sensor, motion sensor and other sensings Device.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 141, and proximity sensor can close display when the terminal is moved in one's ear Panel 141 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect in all directions (generally Three axis) acceleration size, can detect that size and the direction of gravity when static, can be used to identify terminal posture application (ratio Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);Extremely In other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensors that the terminal can also configure, herein It repeats no more.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and the terminal.Sound Electric signal after the audio data received conversion can be transferred to loudspeaker 161, be converted to by loudspeaker 161 by frequency circuit 160 Voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, is received by voicefrequency circuit 160 After be converted to audio data, then by after the processing of audio data output processor 180, be sent to through RF circuit 110 such as another Terminal, or audio data is exported to memory 120 to be further processed.Voicefrequency circuit 160 is also possible that earplug is inserted Hole, to provide the communication of peripheral hardware earphone Yu the terminal.
WiFi belongs to short range wireless transmission technology, and the terminal can help user to receive and dispatch electricity by WiFi module 170 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Figure 13 shows Go out WiFi module 170, but it is understood that, and it is not belonging to must be configured into for the terminal, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Processor 180 is the control centre of the terminal, utilizes each portion of various interfaces and the entire terminal of connection Point, by running or execute the software program and/or module that are stored in memory 120, and calls and be stored in memory 120 Interior data execute the various functions and processing data of the terminal, to carry out integral monitoring to terminal.Optionally, it handles Device 180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modulation /demodulation processing Device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is mainly located Reason wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
The terminal further includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can pass through electricity Management system and processor 180 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management system The functions such as management.Power supply 190 can also include one or more direct current or AC power source, recharging system, power supply event Hinder the random components such as detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, the terminal can also include camera, bluetooth module etc., and details are not described herein.Specifically at this In embodiment, the display unit of terminal is touch-screen display, terminal further include have memory and one or more than one Program, one of them perhaps more than one program be stored in memory and be configured to by one or more than one It includes for executing the first client in a kind of above-mentioned business account switching method that one or more than one program are stated in reason device execution The instruction of end or the second client functionality.
Figure 14 is please referred to, it illustrates the structural schematic diagrams of server provided by one embodiment of the present invention.The server For implementing a kind of business account switching method provided in above-described embodiment.Specifically:
The server 1200 includes 1202 He of central processing unit (CPU) 1201 including random access memory (RAM) The system storage 1204 of read-only memory (ROM) 1203, and connection system storage 1204 and central processing unit 1201 System bus 1205.The server 1200 further includes that the substantially defeated of information is transmitted between each device helped in computer Enter/output system (I/O system) 1206, and is used for storage program area 1213, application program 1214 and other program modules 1215 mass-memory unit 1207.
The basic input/output 1206 includes display 1208 for showing information and inputs for user The input equipment 1209 of such as mouse, keyboard etc of information.Wherein the display 1208 and input equipment 1209 all pass through The input and output controller 1210 for being connected to system bus 1205 is connected to central processing unit 1201.The basic input/defeated System 1206 can also include input and output controller 1210 to touch for receiving and handling from keyboard, mouse or electronics out Control the input of multiple other equipment such as pen.Similarly, input and output controller 1210 also provide output to display screen, printer or Other kinds of output equipment.
The mass-memory unit 1207 (is not shown by being connected to the bulk memory controller of system bus 1205 It is connected to central processing unit 1201 out).The mass-memory unit 1207 and its associated computer-readable medium are Server 1200 provides non-volatile memories.That is, the mass-memory unit 1207 may include such as hard disk or The computer-readable medium (not shown) of person's CD-ROM drive etc.
Without loss of generality, the computer-readable medium may include computer storage media and communication media.Computer Storage medium includes information such as computer readable instructions, data structure, program module or other data for storage The volatile and non-volatile of any method or technique realization, removable and irremovable medium.Computer storage medium includes RAM, ROM, EPROM, EEPROM, flash memory or other solid-state storages its technologies, CD-ROM, DVD or other optical storages, tape Box, tape, disk storage or other magnetic storage devices.Certainly, skilled person will appreciate that the computer storage medium It is not limited to above-mentioned several.Above-mentioned system storage 1204 and mass-memory unit 1207 may be collectively referred to as memory.
According to various embodiments of the present invention, the server 1200 can also be arrived by network connections such as internets Remote computer operation on network.Namely server 1200 can be connect by the network being connected on the system bus 1205 Mouth unit 1211 is connected to network 1212, in other words, it is other kinds of to be connected to that Network Interface Unit 1211 also can be used Network or remote computer system (not shown).
The memory further includes that one or more than one program, the one or more programs are stored in In memory, and it is configured to be executed by one or more than one processor.Said one or more than one program include For executing the instruction of the method for above-mentioned server.
Some embodiments may include containing instruction computer program product, described instruction on at least one processor by At least one described processor is set to carry out business account switching method when execution.
It should be understood that referenced herein " multiple " refer to two or more."and/or", description association The incidence relation of object indicates may exist three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A And B, individualism B these three situations.Character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (14)

1. a kind of business account switching method, which is characterized in that the first client authorizes the second client in advance in the method According to mark account and the first business account login application program so that second client save the mark account with The first business account, the method also includes:
First user end to server issued state switching request includes the second business account in the state switching request;Institute It states the first business account and the second business account is corresponding with the mark account;
The server records the second business account, to the second client issued state switching notice;
Second client according to the mark account to the server issuing service account inquiry request, and described in obtaining Second business account of server feedback;
Second client logs in the application program according to the mark account and the second business account.
2. the method according to claim 1, wherein further include:
The server starts anti-switchback mechanism, and the anti-switchback mechanism is for avoiding the second client according to the mark account The application program is logged in the first business account.
3. according to the method described in claim 2, it is characterized in that, the anti-switchback mechanism of starting includes:
Anti- switchback record is carried out, the anti-switchback is recorded for marking the mark account and the first business account, so that When the second client requests to log in or inquire the state of the first client according to the first business account to server, clothes Business device returns to offline error code.
4. the method according to claim 1, wherein further including that the login of first the second client of client authorization is answered With program, specifically include:
First client issues the authorized order logged in the second client to certificate server, so that certificate server generates Account authorization bill and the first encryption key, the account authorization bill are encrypted by account authorization data by the first shared key And obtain, the account authorization data includes the first encryption key and the first encryption data, and first encryption data includes first The corresponding mark account of client is by the facility information of obtained data and authorized client after the first encryption keys By obtained data after the first encryption keys;
Certificate server issues account authorization bill to the second client;
Second client initiates business bill acquisition request to ticket authorisation server according to the account authorization bill;
The ticket authorisation server decrypts the account authorization bill according to first shared key and obtains account authorization number According to;The first encryption key is obtained in the account authorization data, and according to first encryption key to the first encryption data It is decrypted, obtains the facility information for being authorized to client;Judge whether the facility information for being authorized to client initiates with to it The facility information of second client of business bill acquisition request is identical, if then to the second client issuing service bill, institute Business bill is stated by business datum by the encryption of the second shared key, the business datum includes the second encryption key and the Two encryption datas, second encryption data include the first business account by obtained data after the second encryption keys and It is authorized to the facility information of client by obtained data after the second encryption keys;
Second client initiates logging request to service server according to business bill;
The service server decrypts the business bill according to second shared key and obtains business datum;In the business The second encryption key is obtained in data, and the second encryption data is decrypted according to second encryption key, and acquisition is awarded Weigh the facility information of client;Judge be authorized to client facility information whether with to its initiate logging request the second client The facility information at end is identical, if so, generating session, and logins successfully notice and CIPHERING REQUEST to the return of the second client Head;
Second client, which is shown, successfully logs in the first business account.
5. according to the method described in claim 4, it is characterized by:
The ticket authorisation server and the certificate server share the first shared key;
The ticket authorisation server and the service server share the second shared key.
6. according to the method described in claim 4, it is characterized in that, first client is issued to certificate server to second Client log in authorized order include:
Second client is issued to certificate server obtains certification identification request, includes the second client in the certification identification request The facility information at end;
Certificate server generates certification mark, records the certification mark pass corresponding between the second client device information System, and by the certification identification transmission to the second client;
Second client shows the certification mark;
First client reports the barcode scanning for the certification mark to act and issues authorized order to the certificate server;
The certificate server generates account authorization bill and the first encryption key.
7. according to the method described in claim 6, it is characterized by:
The certification is identified as two dimensional code and bar code.
8. a kind of business account switching method, which is characterized in that the described method includes:
The state switching request that the first current business account is switched to the second business account of the first client publication is obtained, The first business account and the second business account are corresponding with mark account;
The second business account is recorded, to the second client issued state switching notice;
The business account inquiry request that second client is issued according to the mark account prestored is obtained, and objective to described second The second business account is fed back at family end, so that second client is according to the mark account and the second business account Number login application program.
9. according to the method described in claim 8, it is characterized by further comprising:
Start anti-switchback mechanism;The anti-switchback mechanism is for avoiding the second client according to the mark account and described first Business account logs in the application program.
10. a kind of business account switching system, which is characterized in that the system comprises the first clients, the second client kimonos Business device;
First client applies journey for authorizing the second client to log according to mark account and the first business account in advance Sequence;Second client is for saving the mark account and the first business account;
First client is also used to issued state switching request, includes the second business account in the state switching request; The first business account and the second business account are corresponding with the mark account;
The server is also used to record the second business account, to the second client issued state switching notice;
Second client is also used to according to the mark account to the server issuing service account inquiry request, and is obtained Take the second business account of the server feedback;The application is logged according to the mark account and the second business account Program.
11. a kind of business account switching device, which is characterized in that described device includes:
Switching request obtain module, for obtains the first client issue the first current business account is switched to the second industry The state switching request for account of being engaged in, the first business account and the second business account are corresponding with mark account;
Second business account logging modle, for recording the second business account;
It notifies release module, is used for the second client issued state switching notice;
Switching module, the business account inquiry request issued for obtaining second client according to the mark account prestored, And to the second business account described in second client feedback so that second client according to the mark account and The second business account login application program.
12. a kind of server, which is characterized in that operation has the right to require a kind of business account described in 11 in the server Switching device.
13. a kind of computer readable storage medium, for storing program, which is characterized in that described program is wanted for realizing right Seek a kind of business account switching method described in any one of 1-9.
14. a kind of electronic equipment characterized by comprising processor and memory, wherein the processor is for calling simultaneously The program stored in the memory is executed, the memory is for storing program, and described program is for realizing such as claim The described in any item business account switching methods of 1-9.
CN201810829517.XA 2018-07-25 2018-07-25 Service account switching method, system, device and server Active CN109086595B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810829517.XA CN109086595B (en) 2018-07-25 2018-07-25 Service account switching method, system, device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810829517.XA CN109086595B (en) 2018-07-25 2018-07-25 Service account switching method, system, device and server

Publications (2)

Publication Number Publication Date
CN109086595A true CN109086595A (en) 2018-12-25
CN109086595B CN109086595B (en) 2020-04-28

Family

ID=64838659

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810829517.XA Active CN109086595B (en) 2018-07-25 2018-07-25 Service account switching method, system, device and server

Country Status (1)

Country Link
CN (1) CN109086595B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109743329A (en) * 2019-01-22 2019-05-10 腾讯科技(深圳)有限公司 A kind of account processing method and processing device
CN110290232A (en) * 2019-06-25 2019-09-27 江苏梦嘉控股集团有限公司 A kind of public platform management method and system
CN111259278A (en) * 2020-01-15 2020-06-09 福州智永信息科技有限公司 Automatic code scanning method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685167A (en) * 2011-03-17 2012-09-19 深圳市同洲软件有限公司 Multi-terminal business switching method, business terminal and multi-terminal business switching system
EP2579220A1 (en) * 2010-05-26 2013-04-10 ZTE Corporation Entrance guard control method and system thereof
US9119053B2 (en) * 2007-01-17 2015-08-25 Blackberry Limited Methods and apparatus for use in switching user account data and operations between two different mobile communication devices
CN107797721A (en) * 2016-09-07 2018-03-13 腾讯科技(深圳)有限公司 A kind of interface information display methods and its device
CN107817932A (en) * 2017-10-19 2018-03-20 福建中金在线信息科技有限公司 Account switching method, device and user terminal
CN108200572A (en) * 2018-01-09 2018-06-22 西安万像电子科技有限公司 Switching method, the apparatus and system of terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9119053B2 (en) * 2007-01-17 2015-08-25 Blackberry Limited Methods and apparatus for use in switching user account data and operations between two different mobile communication devices
EP2579220A1 (en) * 2010-05-26 2013-04-10 ZTE Corporation Entrance guard control method and system thereof
CN102685167A (en) * 2011-03-17 2012-09-19 深圳市同洲软件有限公司 Multi-terminal business switching method, business terminal and multi-terminal business switching system
CN107797721A (en) * 2016-09-07 2018-03-13 腾讯科技(深圳)有限公司 A kind of interface information display methods and its device
CN107817932A (en) * 2017-10-19 2018-03-20 福建中金在线信息科技有限公司 Account switching method, device and user terminal
CN108200572A (en) * 2018-01-09 2018-06-22 西安万像电子科技有限公司 Switching method, the apparatus and system of terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109743329A (en) * 2019-01-22 2019-05-10 腾讯科技(深圳)有限公司 A kind of account processing method and processing device
CN110290232A (en) * 2019-06-25 2019-09-27 江苏梦嘉控股集团有限公司 A kind of public platform management method and system
CN111259278A (en) * 2020-01-15 2020-06-09 福州智永信息科技有限公司 Automatic code scanning method and system
CN111259278B (en) * 2020-01-15 2023-07-18 宝宝巴士股份有限公司 Automatic code scanning method and system

Also Published As

Publication number Publication date
CN109086595B (en) 2020-04-28

Similar Documents

Publication Publication Date Title
US12041165B2 (en) Key updating method, apparatus, and system
EP3605989A1 (en) Information sending method, information receiving method, apparatus, and system
CN104580167B (en) A kind of methods, devices and systems transmitting data
CN104836664B (en) A kind of methods, devices and systems executing business processing
EP3200487B1 (en) Message processing method and apparatus
US10304461B2 (en) Remote electronic service requesting and processing method, server, and terminal
WO2019042274A1 (en) Resource transfer method and apparatus, and storage medium
CN105471704B (en) A kind of method, apparatus and system for realizing more people's calls
CN106302325B (en) The methods, devices and systems of specified communication service are provided
US20190095887A1 (en) Resource transferring method and apparatus
CN111193695A (en) Encryption method and device for third party account login and storage medium
US20160301530A1 (en) Sensitive operation verification method, apparatus, and system
JP2019535074A (en) Method for managing application program usage time offline and terminal device
CN110198301A (en) A kind of service data acquisition methods, device and equipment
WO2016078504A1 (en) Identity authentication method and device
US10454905B2 (en) Method and apparatus for encrypting and decrypting picture, and device
CN106791955A (en) A kind of method and system for determining live duration
WO2017054585A1 (en) Network access method, device, and system
CN109086595A (en) A kind of business account switching method, system, device and server
WO2019095156A1 (en) Information search method, terminal, network device, and system
CN108270764B (en) Application login method, server and mobile terminal
CN107872791B (en) Access point connection method and device
CN105721282B (en) Message display method and device
CN114553612A (en) Data encryption and decryption method and device, storage medium and electronic equipment
CN109525666A (en) A kind of data back up method and mobile terminal

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