CN113158085A - Information switching processing method and device, electronic equipment and storage medium - Google Patents

Information switching processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113158085A
CN113158085A CN202110352844.2A CN202110352844A CN113158085A CN 113158085 A CN113158085 A CN 113158085A CN 202110352844 A CN202110352844 A CN 202110352844A CN 113158085 A CN113158085 A CN 113158085A
Authority
CN
China
Prior art keywords
information
switching
target
client
item
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
CN202110352844.2A
Other languages
Chinese (zh)
Other versions
CN113158085B (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.)
Wuba Co Ltd
Original Assignee
Wuba 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 Wuba Co Ltd filed Critical Wuba Co Ltd
Priority to CN202110352844.2A priority Critical patent/CN113158085B/en
Publication of CN113158085A publication Critical patent/CN113158085A/en
Application granted granted Critical
Publication of CN113158085B publication Critical patent/CN113158085B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9537Spatial or temporal dependent retrieval, e.g. spatiotemporal queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases

Abstract

The invention provides an information switching processing method and device, electronic equipment and a storage medium. The method comprises the following steps: responding to the change of the target information of the client, and acquiring a target switching item adapted to the current target information of the client; the target information comprises M information dimensions, an up-down relation exists between any one of the M information dimensions and at least one other information dimension, M is a positive integer larger than 1, and the target switching item is information switching under at least one information dimension; and adjusting an information tag corresponding to the target information in the client based on the target switching item. Therefore, the beneficial effects of accurately and efficiently conducting information switching guidance and improving the information switching efficiency and accuracy are achieved.

Description

Information switching processing method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of internet technologies, and in particular, to an information switching processing method and apparatus, an electronic device, and a storage medium.
Background
For websites, map information software or navigation software, pushing information related to geographic information for customers in a page is a specific application based on geographic information or navigation, and the application can improve the use experience of users. Taking a website as an example, a user may switch to a home page of a corresponding entry by clicking on the content of the entry under the page, such as: clicking "Beijing" will jump to the first page of Beijing (City), and clicking "Daxing" will jump to the first page of Daxing (county).
Further, the user may be guided to switch the page information based on the change in the position of the user. When the positioning city and county of the user are different from the currently selected city or county, the related App actively prompts the user to switch the home page to the currently positioned city home page or the county home page.
Specifically, the guidance for switching to the city home page or the county home page is configured through a switch of a switching item issued by the server. It should be noted that App can only have one home page at the same time, when the position changes, the possibility of switching to the city home page and the county home page exists, and if the server turns on the switches of the two switching items at the same time, the information switching guidance process of the client side is bound to conflict, which causes the problem of information switching confusion.
Disclosure of Invention
The embodiment of the invention provides an information switching processing method and device, electronic equipment and a storage medium, and aims to solve the problem that information switching is disordered due to the fact that conflict is easy to occur in the existing information switching guiding process.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides an information switching processing method, including:
responding to the change of the target information of the client, and acquiring a target switching item adapted to the current target information of the client; the target information comprises M information dimensions, an up-down relation exists between any one of the M information dimensions and at least one other information dimension, M is a positive integer larger than 1, and the target switching item is information switching under at least one information dimension;
and adjusting an information tag corresponding to the target information in the client based on the target switching item.
Optionally, the step of obtaining a target switching item adapted to the current target information of the client in response to a change in the target information of the client includes:
responding to the change of target information of a client, and acquiring a switching instruction sent by a server aiming at the target information; the switching instruction comprises N switching items which are not intersected, the switching items are information switching under at least one information dimension, and N is a positive integer;
and acquiring a target switching item adapted to the current target information of the client from the switching instruction.
Optionally, the step of obtaining a target switching item adapted to the current target information of the client in response to a change in the target information of the client includes:
responding to the change of target information of a client, acquiring the current target information of the client, and uploading the current target information to a server;
and acquiring a switching instruction sent by the server aiming at the target information, wherein the switching instruction comprises the target switching item, the target switching item is obtained by the server in an adaptive manner from N switching items according to the current target information of the client, the switching items in the N switching items are not intersected, the switching items are information switching under at least one information dimension, and N is a positive integer.
Optionally, the step of adjusting an information tag corresponding to the target information in the client based on the target handover item includes:
rendering a prompt popup window aiming at the target switching item at the client, wherein the prompt popup window at least comprises a target control for confirming switching;
and responding to the received trigger operation of the user for the target control in the client, and adjusting an information label corresponding to the target information at the client.
Optionally, a value of M is 2, a value of N is any positive integer from 1 to 4, and the M information dimensions include a city dimension and a county dimension, or a county dimension and a town dimension.
Optionally, the switching item comprises at least one of X switching to XY, a first switching item, a second switching item, and a third switching item, the first switching item comprises any one of X switching to X ', X switching to X ' Y, the second switching item comprises any one of XY switching to X, XY switching to XY ', the third switching item comprises any one of XY switching to X ' Y ', X ' Y switching to X, the X represents any information item under the first information dimension, the XY represents any information item with the X as the upper level under the second information dimension, the X ' represents another information item with the X ' as the upper level under the first information dimension, the X ' Y represents any information item with the X ' as the upper level under the second information dimension, and the X ' Y ' represents another information item with the X ' as the upper level under the second information dimension and different from the Y.
In a second aspect, an embodiment of the present invention provides another information handover processing method, where the method includes:
acquiring a switching request sent by a client, wherein the switching request is sent under the condition that target information of the client is changed, the target information comprises M information dimensions, an upper-level and lower-level relation exists between any one information dimension and at least one other information dimension in the M information dimensions, and M is a positive integer greater than 1;
filtering the initially set switching items to obtain N mutually disjoint switching items, wherein N is a positive integer, and the switching items are information switching under at least one information dimension;
and acquiring a target switching item adapted to the client from the N switching items according to the current target information of the client, so as to adjust an information tag corresponding to the target information in the client based on the target switching item.
Optionally, the step of obtaining the target handover item adapted by the client from the N handover items according to the current target information of the client includes:
and generating a switching instruction aiming at the target information based on the N switching items, and sending the switching instruction to the client, so that the client can obtain a target switching item adapted to the current target information of the client from the switching instruction, and adjust an information label corresponding to the target information in the client based on the target switching item.
Optionally, the step of obtaining the target handover item adapted by the client from the N handover items according to the current target information of the client includes:
acquiring current target information of the client carried by the switching request, and acquiring a target switching item adapted to the client from the N switching items according to the current target information;
and generating a switching instruction aiming at the target information based on the target switching item and sending the switching instruction to the client so that the client can obtain the target switching item adapted to the current target information of the client from the switching instruction and adjust an information label corresponding to the target information in the client based on the target switching item.
In a third aspect, an embodiment of the present invention provides an information switching processing apparatus, including:
the first switching item adapting module is used for responding to the change of the target information of the client and acquiring a target switching item adapted to the current target information of the client; the target information comprises M information dimensions, an up-down relation exists between any one of the M information dimensions and at least one other information dimension, M is a positive integer larger than 1, and the target switching item is information switching under at least one information dimension;
and the information switching processing module is used for adjusting the information label corresponding to the target information in the client based on the target switching item.
Optionally, the first switching item adaptation module includes:
the first switching instruction acquisition submodule is used for responding to the change of the target information of the client and acquiring a switching instruction sent by the server aiming at the target information; the switching instruction comprises N switching items which are not intersected, the switching items are information switching under at least one information dimension, and N is a positive integer;
and the first switching item adaptation submodule is used for acquiring a target switching item adapted to the current target information of the client from the switching instruction.
Optionally, the first switching item adaptation module includes:
the target information uploading sub-module is used for responding to the change of the target information of the client, acquiring the current target information of the client and uploading the current target information to the server;
and a second switching item adaptation submodule, configured to obtain a switching instruction sent by the server for the target information, where the switching instruction includes the target switching item, the target switching item is obtained by the server through adaptation from N switching items according to current target information of the client, the switching items in the N switching items are disjoint, the switching item is information switching in at least one information dimension, and N is a positive integer.
Optionally, the information switching processing module includes:
a prompt popup rendering submodule, configured to render a prompt popup for the target switching item at the client, where the prompt popup at least includes a target control for confirming switching;
and the information switching processing submodule is used for responding to the received triggering operation of the user for the target control in the client and adjusting the information label corresponding to the target information at the client.
Optionally, a value of M is 2, a value of N is any positive integer from 1 to 4, and the M information dimensions include a city dimension and a county dimension, or a county dimension and a town dimension.
Optionally, the switching item comprises at least one of X switching to XY, a first switching item, a second switching item, and a third switching item, the first switching item comprises any one of X switching to X ', X switching to X ' Y, the second switching item comprises any one of XY switching to X, XY switching to XY ', the third switching item comprises any one of XY switching to X ' Y ', X ' Y switching to X, the X represents any information item under the first information dimension, the XY represents any information item with the X as the upper level under the second information dimension, the X ' represents another information item with the X ' as the upper level under the first information dimension, the X ' Y represents any information item with the X ' as the upper level under the second information dimension, and the X ' Y ' represents another information item with the X ' as the upper level under the second information dimension and different from the Y.
In a fourth aspect, an embodiment of the present invention provides another information handover processing apparatus, where the apparatus includes:
the switching request receiving module is used for acquiring a switching request sent by a client, wherein the switching request is sent under the condition that target information of the client is changed, the target information comprises M information dimensions, an upper-level relation and a lower-level relation exist between any one information dimension and at least another information dimension in the M information dimensions, and M is a positive integer larger than 1;
the switching item filtering module is used for filtering the switching items which are initially set to obtain N mutually disjoint switching items, wherein N is a positive integer, and the switching items are information switching under at least one information dimension;
and the second switching item adapting module is used for acquiring a target switching item adapted to the client from the N switching items according to the current target information of the client so as to adjust an information tag corresponding to the target information in the client based on the target switching item.
Optionally, the second handover item adaptation module is specifically configured to:
and generating a switching instruction aiming at the target information based on the N switching items, and sending the switching instruction to the client, so that the client can obtain a target switching item adapted to the current target information of the client from the switching instruction, and adjust an information label corresponding to the target information in the client based on the target switching item.
Optionally, the second handover item adaptation module is specifically configured to:
acquiring current target information of the client carried by the switching request, and acquiring a target switching item adapted to the client from the N switching items according to the current target information;
and generating a switching instruction aiming at the target information based on the target switching item and sending the switching instruction to the client so that the client can obtain the target switching item adapted to the current target information of the client from the switching instruction and adjust an information label corresponding to the target information in the client based on the target switching item.
In a fifth aspect, an embodiment of the present invention additionally provides an electronic device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the information switching processing method according to the first aspect or the second aspect.
In a sixth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program, when executed by a processor, implements the steps of the information switching processing method according to the first aspect or the second aspect.
In the embodiment of the invention, a target switching item adapted to the current target information of a client is obtained in response to the change of the target information of the client; the target information comprises M information dimensions, an up-down relation exists between any one of the M information dimensions and at least one other information dimension, M is a positive integer larger than 1, and the target switching item is information switching under at least one information dimension; and adjusting an information tag corresponding to the target information in the client based on the target switching item. Therefore, the beneficial effects of accurately and efficiently conducting information switching guidance and improving the information switching efficiency and accuracy are achieved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without inventive labor.
Fig. 1 is a flowchart illustrating steps of an information handover processing method according to an embodiment of the present invention;
FIG. 2 is a flow chart of steps of another information handover processing method in an embodiment of the present invention;
FIG. 3 is a flow chart of steps of another information handover processing method in an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of an information switching processing apparatus according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of another information switching processing apparatus according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a hardware structure of an electronic device in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a flowchart illustrating steps of an information handover processing method according to an embodiment of the present invention is shown. Wherein the method can be applied to the client.
Step 110, responding to the change of the target information of the client, and acquiring a target switching item adapted to the current target information of the client; the target information comprises M information dimensions, an up-down relation exists between any one of the M information dimensions and at least one other information dimension, M is a positive integer larger than 1, and the target switching item is information switching under at least one information dimension;
and step 120, adjusting an information tag corresponding to the target information in the client based on the target switching item.
As described above, in practical applications, when information is switched, because the value of the information tag displayed at the same time is fixed, if there is a partial intersection between two switching items corresponding to the target information, only one switching item can be selected, and two switching items cannot be selected at the same time when information is switched. For example, when the location tag of the client is switched, if the client is switched from a city a to the next county B1 of another city B, it is generally required to switch the client from the city a to the city B first, and then from the city B to the next county B1 of the city B, as can be seen, there is a partial flow intersection between the process of switching from the city a to the next county B1 of another city B and the process of switching from the city a to the city B, that is, the two switching modes can only occur at the same time, and the two modes conflict with each other. In practical applications, if the two switching manners are provided to the same user at the same time, the information switching of the client is confused.
Therefore, in the embodiment of the present invention, in order to avoid providing a conflicting switching item when performing information switching, an application scenario of information switching may be analyzed in advance to obtain intersecting switching items, that is, mutually conflicting switching items, so that when providing a disjoint switching item to a client, the client may obtain a target switching item adapted to itself from at least one disjoint switching item that has been issued to the client from a server based on its current target information. In addition, the server may also directly provide a target switching item to the client, for example, obtain real-time target information of the client, further obtain a target switching item adapted to the current target information of the client from at least one disjoint switching item, and send the target switching item to the client. Or, the server may directly issue a switching item as the target switching item to the client without acquiring the target information of the client, and so on. That is, in the embodiment of the present invention, the target switching item adapted to the current target information of the client may be obtained locally from the client, or may be issued to the client by the server when the target information of the client changes.
In practical applications, if the information to be switched is the switching between the information items in the same information dimension, for example, the switching between different cities in a city dimension, or the switching between different counties in a county dimension, the situation of conflict generally does not occur. However, when information switching between a plurality of information dimensions having a hierarchical relationship, for example, the above-described city dimension and prefecture dimension, is performed, conflicting switching items, for example, switching between the above-described city and city, switching between a city and another prefecture and prefecture, and the like, are likely to occur.
Therefore, in the embodiment of the present invention, the target information may include M information dimensions, and a hierarchical relationship exists between any one of the M information dimensions and at least another information dimension, where M is a positive integer greater than 1. Of course, in the embodiment of the present invention, a certain information dimension of the M information dimensions may have a hierarchical relationship with a plurality of other information dimensions, and the embodiment of the present invention is not limited thereto. The other information dimensions can be understood as information dimensions other than the information dimension in the M information dimensions. The information dimension can be different according to different application scenes. For example, in the case where the target information is location information, the information dimensions may include a country dimension, a province dimension, a city dimension, a county dimension, a town dimension, a country dimension, and the like, in the case where the target information is department-level information, the information dimensions may include a head office dimension, a branch office dimension, a department dimension, a project group dimension, and the like, and in the case where the target information is job information, the information dimensions may include a CEO dimension, a manager dimension, a head prison dimension, a vice head prison dimension, a master prison dimension, a group leader dimension, a group member dimension, and the like.
After determining the target switching item adapted to the client, the information tag corresponding to the target information in the client may be adjusted based on the target switching item. For example, taking the target information as the location information as an example, assuming that the target switching item currently determined to be adapted to the client is switching between city dimensions, and the location information of the client is switched from beijing to tianjin, the label of the location information in the client may be switched from "beijing" to "tianjin".
Moreover, when the information tag corresponding to the target information in the client is adjusted, since the current application scenario may be a certain APP or a webpage, the information tag in the APP or the webpage may be switched accordingly at this time. In addition, the contents displayed in the pages under different information labels may be adjusted accordingly. For example, the information label of a certain page is switched from "beijing" to "tianjin", and then the display content in the page can be adaptively adjusted to the relevant information in the city of "tianjin" at this time.
Referring to fig. 2, in an embodiment of the present invention, the step 110 may further include:
step A111, responding to the change of the target information of the client, and acquiring a switching instruction sent by the server aiming at the target information; the switching instruction comprises N switching items which are not intersected, the switching items are information switching under at least one information dimension, and N is a positive integer;
step a112, obtaining a target switching item adapted to the current target information of the client from the switching instruction.
Specifically, in an application scenario of switching the target information, the client may detect the target information in real time and compare the target information with the previous target information to determine whether the target information changes, if the target information changes, the server may be requested to issue a switching item to obtain a target switching item adapted to the current target information of the client, and the server may send a switching instruction for the target information to the client in response to the request of the client. At this time, the switching instruction may carry N switching items, and each switching item is disjoint, where N is a positive integer. Of course, the server may also detect whether the target information of the client changes, and if so, may actively acquire the target handover item adapted to the current target information of the client, or send a handover instruction for the target information to the client, so that the client acquires the target handover item adapted to the current target information of the client from the handover instruction again.
After receiving the switching instruction, the client may obtain a target switching item adapted to the current target information of the client from the switching instruction, and at this time, because the switching items carried in the switching instruction are disjoint, there are no multiple switching items simultaneously available to the client, that is, the target switching item is unique, and then the information tag corresponding to the target information in the client is adjusted based on the target switching item.
Taking the target information as the location information as an example, if the location information includes two information dimensions, namely a city dimension and a county dimension, it is assumed that the city is represented by a variable X and the county is represented by a variable Y. The exchange of a city with a city is represented as X- > X', and the exchange of a city with a county area is represented as X- > Y; the exchange of county and county domains is represented by Y- > Y', and the exchange of county and city is represented by Y- > X. However, in this case, since the city belongs to an upper level of the county area and may be represented by a single X variable, and the county area belongs to a lower level of the city, and the county area simply represented by the variable Y is not sufficient or accurate, it is possible to represent the county area XY having the relationship to which the city variable X is added to the original county area variable Y more accurately. After the superior-inferior relation is added, the city and the switched city can be also expressed by X- > X' because the inferior relation is not involved; the exchange between a city and a county domain needs to consider whether the target county domain is the same as the current city, and the same may be represented by X- > XY, but different may be represented by X- > X' Y. Similarly, the exchange between the county and the user also needs to consider whether the target county is the same as or not with the city where the current county is located, and the same can be represented by XY- > XY ', and different can be represented by X ' Y- > XY '; the county area and city exchange considers whether the target city is the same as the current county area, and the same can be represented by XY- > X, and the different can be represented by X' Y- > X.
As can be seen from the various exchanges described above, there are cases where X- > X 'is contained by X- > X' Y at city switch; when the county area is switched, XY- > XY 'includes XY- > X, and X' Y- > XY 'includes X' Y- > X. I.e. the two exchanges of each group intersect each other, and may not exist simultaneously to avoid collision.
Suppose that the currently displayed position label in a certain webpage or App page of the client is 'Beijing City'. If the client detects that the location information of the client changes, for example, from "beijing" to a prefecture of tianjin city, it is assumed that the switching items provided by the server to the client include X- > XY, X- > X ', XY- > XY' and X 'Y- > XY'. At this time, for the client, switching between the city and the city, or switching between the city and another county and county domain under the city may be performed, that is, the target switching item adapted to the current target information is X- > X' described above. Further, the information tag corresponding to the target information, that is, the location tag of the location information, may be switched to "tianjin city" at the client.
In addition, if the information tag is the information tag of a certain page in the client, and if the data displayed in the page can be adjusted along with the information tag, then at this time, after the information tag of the page is switched, the page data in the page can be adjusted correspondingly, so as to ensure that the page data is adapted to the real-time target information in the client.
In addition, in the embodiment of the present invention, if the value of M is 2, the target switching item may be determined by referring to the above example of the city dimension and the county dimension. If the value of M is an integer greater than 2, then the upper and lower level relations among the information dimensions are referred to, the M information dimensions can be divided into a plurality of combinations formed by 2 information dimensions, and the target switching item is determined by referring to the example of the city dimension and the county dimension.
For example, assuming that the target information includes 3 information dimensions, which are a city dimension, a county dimension, and a town dimension, respectively, at this time, the city dimension and the county dimension may be used as one information dimension combination having a hierarchical relationship, the county dimension and the town dimension may be used as another information dimension combination having a hierarchical relationship, and an available switching item and a target switching item adapted to the client are determined, respectively, so as to perform information switching, respectively.
Moreover, in order to avoid the existence of the intersected switching items among the switching items under each information dimension combination, the switching items under each information dimension combination can be considered at the same time, and when the switching items are provided for the client, the disjoint switching items are screened from the switching items and are provided for the client.
In addition, in practical applications, the switching items provided by the server may not necessarily include the target switching item currently adapted by the client. For example, in the case where the target information is location information, the location label currently displayed on a certain web page or App page of the client is "beijing city". If the client detects that the location information of the client changes, for example, from "beijing" to a certain county area of tianjin city, assuming that the switching item provided by the server to the client includes the above-mentioned X- > XY, XY- > XY ' and X ' Y- > XY ', then an unadaptable prompt message may also be fed back to the server to prompt the server to adjust the issued switching item, which is not limited in the embodiment of the present invention.
Referring to fig. 2, in the embodiment of the present invention, step 110 may further include:
step B111, responding to the change of the target information of the client, acquiring the current target information of the client, and uploading the current target information to a server;
step B112, obtaining a switching instruction sent by the server for the target information, where the switching instruction includes the target switching item, the target switching item is obtained by the server in an adaptation manner from N switching items according to the current target information of the client, the switching items in the N switching items are disjoint, and the switching item is information switching in at least one information dimension, where N is a positive integer.
On the other hand, the process of obtaining the target switching item adapted to the client from the N mutually disjoint switching items may also be executed on the server side, so that at this time, the current target information of the client may be obtained and uploaded to the server under the condition that the change of the target information of the client is monitored, and the server may obtain the target switching item of the client from the N mutually disjoint switching items in an adaptation manner according to the current target information of the client, and issue the target switching item to the client through a switching instruction.
The N mutually disjoint switching items provided by the server at a time can be obtained by screening the switching items of the various alternatives based on the intersection relationship existing between the switching items of the various alternatives. Moreover, when the target switching item of the client is obtained, if there is no target switching item adapted to the current target information of the client in the current N mutually disjoint switching items, the N mutually disjoint switching items may be further updated, and another N mutually disjoint switching items are selected from the respective candidate switching items to obtain the target switching item of the client therefrom until the target switching item of the client is obtained by adaptation, or it is confirmed that each switching item is not adapted to the current target information of the client, and so on. Of course, in the embodiment of the present invention, it may also be configured to obtain the target switching item of the client from the current N mutually disjoint switching items, without updating the N mutually disjoint switching items, which is not limited in this embodiment of the present invention.
Referring to fig. 2, in the embodiment of the present invention, step 120 may further include:
step 121, rendering a prompt popup window for the target switching item at the client, wherein the prompt popup window at least comprises a target control for confirming switching;
and step 122, in response to receiving a trigger operation of a user for the target control in the client, adjusting an information label corresponding to the target information at the client.
In practical application, under the condition that the target information of the target client is changed, a user of the client may not want to change the information tag therein, and at this time, if the information tag corresponding to the target information of the client is directly adjusted, the user may need to manually restore the information tag therein to the original state, which affects user experience.
Therefore, in the embodiment of the present invention, after the target switching item is determined and before the information tag is switched, a prompt popup window for the target switching item may be rendered at the client, where the prompt popup window at least includes a target control for confirming the switching, and at this time, a user of the client may trigger the target control by clicking or the like to trigger the adjustment for the information tag therein.
For the client, if a trigger operation of the user for the target control in the prompt popup window is received, the information tag corresponding to the changed target information may be adjusted at the client.
The attributes such as the appearance, the initial display position and the like of the prompt pop-up window can be set by self according to requirements, and the embodiment of the invention is not limited.
Optionally, in this embodiment of the present invention, a value of M is 2, a value of N is any positive integer from 1 to 4, and the M information dimensions include a city dimension and a county dimension, or a county dimension and a town and town dimension.
Taking the value of M as 2 as an example, assuming that the information dimensions at this time include a city dimension and a county dimension, the two information dimensions may be represented by two variables respectively. Two different variable switching is actually a switching relationship, and the switching includes information item switching in the own dimension and information item switching in the non-own dimension. In addition, for two information dimensions having a relationship between upper and lower levels, it is necessary to consider whether the upper level has a relationship between upper and lower levels when switching is performed in the lower level. Then, all the exchange items are shown by the variable table, and the variable exchange items are all the switching scenes with the relationship of the upper level and the lower level. Further, by analyzing the exchange items of all the variables, the exchange items containing and contained are found out, and two exchange items with containing relationship, namely intersecting relationship are considered to have conflict.
Through the analysis result, the configuration mode of the switching item which can be sent to the client can be determined, wherein the switching item can be represented by a switch instruction, the value of the switch instruction can be 0 or 1, and when the value of a certain switch instruction is set to be 1, that is, the switch is in a closed state, the switching item corresponding to the switch instruction can be triggered and executed. Then, from the above analysis result, the configuration protocol of the switch command (e.g. a prompt popup for controlling various switching items in different scenarios, etc.) can be determined. The configuration of the switch instruction generally refers to a scenario in which a batch of instructions issued by the server to the client are used for batch control or nand operation.
It should be noted that the N switching items provided by different websites or servers of the App may be different, and the embodiment of the present invention is not limited thereto.
Optionally, in the embodiment of the present invention, the switching item includes at least one of X switching to XY, a first switching item, a second switching item, and a third switching item, the first switching item comprises any one of X switching to X ', X switching to X ' Y, the second switching item comprises any one of XY switching to X, XY switching to XY ', the third switching item comprises any one of XY switching to X ' Y ', X ' Y switching to X, the X represents any information item under the first information dimension, the XY represents any information item with the X as the upper level under the second information dimension, the X ' represents another information item with the X ' as the upper level under the first information dimension, the X ' Y represents any information item with the X ' as the upper level under the second information dimension, and the X ' Y ' represents another information item with the X ' as the upper level under the second information dimension and different from the Y.
Taking the city dimension and the county dimension as examples, the specific implementation steps of the analysis and determination process of the switching items may be as follows:
1) suppose that information items in the city dimension (e.g., beijing city, tianjin city, etc.) are represented by a variable X, and information items in the county-domain dimension (e.g., happy area, south-opened area) are represented by a variable Y.
2) The exchange between a city and a city, that is, the switching of information items in the city dimension can be represented as X- > X' (for example, beijing city is switched to tianjin city), and the exchange between a city and a county domain, that is, the switching of information items in the city dimension to information items in the county domain dimension can be represented as X- > Y (for example, beijing city is switched to the great happy area); the exchange between the county and the county domains, that is, the switching of the information items in the county domain dimension may be represented as Y- > Y' (for example, the cautions district is switched to the south opening district), and the exchange between the county and the city, that is, the switching of the information items in the county domain dimension to the information items in the city dimension may be represented as Y- > X (for example, the cautions district is switched to the beijing city). Where- > represents a switching relationship.
3) The city belongs to the upper level and can be represented by a single X variable; the county area belongs to the lower level of the city, and the simple variable Y indicates that the county area is not sufficient any more, so that the county area XY with the relationship can be more accurately represented by adding the city variable X to the original county area variable Y.
4) After the superior-inferior relation is added, the city and the city have no inferior relation, so that the interchange is represented by X- > X' (for example, the Beijing city is switched to the Tianjin city); the exchange between the city and the county area needs to consider whether the target county area is the same as the current city, which is represented by X- > XY (for example, switching from Beijing to Beijing Ministry of great Kyoho), and is represented by X- > X' Y (for example, switching from Beijing to Tianjin Ministry of south China). Similarly, the exchange between the county and the prefecture also needs to consider whether the target county is the same as the city where the current county is located, and the same is represented by XY- > XY ' (for example, the hai lake district in beijing city is switched to the prosperous district in beijing city), and the different is represented by X ' Y- > XY ' (for example, the south kaiki district in tianjin city is switched to the prosperous district in beijing city); the exchange between the county and the city is considered whether the target city is the same as the current city in the county, and is represented by XY- > X (for example, the happy area of beijing city is switched to beijing city), and is represented by X' Y- > X (for example, the happy area of beijing city is switched to tianjin city).
5) Among the above exchanges can be seen: when switching cities, X- > X 'is contained by X- > X' Y, namely X is switched to Y at the lower stage of X ', and needs to be switched to X'; in the county-side switching, XY- > XY ' includes XY- > X, that is, switching from Y ' on the same X subordinate stage to Y ' requires switching to X first, and then switching to Y ' on the X subordinate stage, and X ' Y- > XY ' includes X ' Y- > X, that is, switching from Y on the X ' subordinate stage to Y ' on the X subordinate stage requires switching from Y on the X ' subordinate stage to X first, and then switching to Y ' on the X subordinate stage.
6) The result in the step 4) has 7 exchange items, and the 7 exchange items comprise the 3 conflict relations in the step 5); that is, after considering the conflict relationship, the number of the exchange items that can exist simultaneously is at most 4, that is, the value of N may be any positive integer from 1 to 4. Specifically, the content and the number of the simultaneously existing exchange items can be set by a manager at the server end in a user-defined manner according to requirements, and the embodiment of the invention is not limited. But it needs to ensure that there is no containing and contained condition between each switching item, i.e. there is no conflict relationship caused by intersection.
Then, when the server side issues the switch configuration protocol representing the switching items to the client side, the issue of conflicting switch instructions at the same time can be effectively avoided, and at most, the switch instructions of 4 switching items are turned on.
Through the process, the switching instructions with conflict at the service end can be screened. Meanwhile, the client side can finally match a plurality of scenes to at most one switching instruction through positioning data screening.
In this case, the city dimension may be understood as a first information dimension, and the county dimension may be understood as a second information dimension.
Through the design idea evolution and the steps, the finally produced model can completely, efficiently, accurately and conflict-free solve the switch configuration problem of mutual switching between cities and counties.
Referring to fig. 3, a flowchart illustrating steps of another information switching processing method according to an embodiment of the present invention is shown. Wherein the method can be applied to a server.
Step 210, obtaining a switching request sent by a client, where the switching request is sent when target information of the client changes, the target information includes M information dimensions, and a top-bottom relationship exists between any one information dimension of the M information dimensions and at least another information dimension, where M is a positive integer greater than 1;
step 220, filtering the initially set switching items to obtain N mutually disjoint switching items, wherein N is a positive integer, and the switching items are information switching under at least one information dimension;
step 230, according to the current target information of the client, obtaining a target switching item adapted to the client from the N switching items, so as to adjust an information tag corresponding to the target information in the client based on the target switching item.
In practical application, when a server issues switching items, if the conflict relationship existing among various switching items cannot be considered comprehensively, the conflict relationship may exist among the switching items issued to a client, and further, the situation that multiple target switching items are adapted simultaneously occurs, and the information switching of the client is disordered.
Therefore, in the embodiment of the present invention, at the server side, before the switching items are issued, the switching items initially set by the server for the security may be filtered based on whether conflicts exist due to the intersection among the candidate switching items obtained through the pre-analysis, so as to obtain N switching items that are not intersected with each other, that is, the N switching items described above. And then, a switching instruction for the target information sending is generated based on at least one switching item obtained after filtering, and the switching instruction is sent to the client.
Optionally, in an embodiment of the present invention, the step 230 may further include:
step A231, generating a switching instruction for the target information based on the N switching items, and sending the switching instruction to the client, so that the client can obtain a target switching item adapted to the current target information of the client from the switching instruction, and adjust an information tag corresponding to the target information in the client based on the target switching item.
Optionally, in an embodiment of the present invention, the step 230 may further include:
step B231, obtaining the current target information of the client carried by the switching request, and obtaining the target switching item adapted to the client from the N switching items according to the current target information;
step B232, generating a switching instruction for the target information based on the target switching item and sending the switching instruction to the client, so that the client can obtain the target switching item adapted to the current target information of the client from the switching instruction, and adjust the information tag corresponding to the target information in the client based on the target switching item.
The implementation details of the above steps, the analysis process of the relationship between the switching items, and the related steps executed between the client and the server are similar to those in the above embodiments, and specific reference may be made to the above embodiments, which are not described herein again.
In the embodiment of the invention, through model analysis, switching items for mutually switching information items under a plurality of information dimensions with upper and lower level relations, such as cities, counties and the like, are constructed in advance; the inclusion relation, namely the existence of crossed conflict items, in the switching items is analyzed through a model algorithm; finally, the switching items after the conflict items are eliminated are issued by the server, namely, the switching items which are not intersected with each other do not exist, so that the guidance of App or web pages and the like of the client can be accurately controlled to carry out information switching. Therefore, the condition of artificial analysis errors can be eliminated, the logical judgment processing load of the client on various conditions is reduced, the analyzed conflict relationship is more perfect and accurate, and the accuracy and the processing efficiency of information switching processing can be improved.
Referring to fig. 4, a schematic structural diagram of an information switching processing apparatus according to an embodiment of the present invention is shown.
The information switching processing device of the embodiment of the invention comprises: a first switching item adaptation module 310 and an information switching processing module 320.
The functions of the modules and the interaction relationship between the modules are described in detail below.
A first switching item adapting module 310, configured to respond to a change in target information of a client, and obtain a target switching item adapted to current target information of the client; the target information comprises M information dimensions, an up-down relation exists between any one of the M information dimensions and at least one other information dimension, M is a positive integer larger than 1, and the target switching item is information switching under at least one information dimension;
an information switching processing module 320, configured to adjust an information tag corresponding to the target information in the client based on the target switching item.
Optionally, in this embodiment of the present invention, the first switching item adapting module 310 may further include:
the first switching instruction acquisition submodule is used for responding to the change of the target information of the client and acquiring a switching instruction sent by the server aiming at the target information; the switching instruction comprises N switching items which are not intersected, the switching items are information switching under at least one information dimension, and N is a positive integer;
and the first switching item adaptation submodule is used for acquiring a target switching item adapted to the current target information of the client from the switching instruction.
Optionally, in this embodiment of the present invention, the first switching item adapting module 310 may further include:
the target information uploading sub-module is used for responding to the change of the target information of the client, acquiring the current target information of the client and uploading the current target information to the server;
and a second switching item adaptation submodule, configured to obtain a switching instruction sent by the server for the target information, where the switching instruction includes the target switching item, the target switching item is obtained by the server through adaptation from N switching items according to current target information of the client, the switching items in the N switching items are disjoint, the switching item is information switching in at least one information dimension, and N is a positive integer.
Optionally, in this embodiment of the present invention, the information switching processing module 320 further includes:
a prompt popup rendering submodule, configured to render a prompt popup for the target switching item at the client, where the prompt popup at least includes a target control for confirming switching;
and the information switching processing submodule is used for responding to the received triggering operation of the user for the target control in the client and adjusting the information label corresponding to the target information at the client.
Optionally, in this embodiment of the present invention, a value of M is 2, a value of N is any positive integer from 1 to 4, and the M information dimensions include a city dimension and a county dimension, or a county dimension and a town and town dimension.
Optionally, in the embodiment of the present invention, the switching item includes at least one of X switching to XY, a first switching item, a second switching item, and a third switching item, the first switching item comprises any one of X switching to X ', X switching to X ' Y, the second switching item comprises any one of XY switching to X, XY switching to XY ', the third switching item comprises any one of XY switching to X ' Y ', X ' Y switching to X, the X represents any information item under the first information dimension, the XY represents any information item with the X as the upper level under the second information dimension, the X ' represents another information item with the X ' as the upper level under the first information dimension, the X ' Y represents any information item with the X ' as the upper level under the second information dimension, and the X ' Y ' represents another information item with the X ' as the upper level under the second information dimension and different from the Y.
Referring to fig. 5, a schematic structural diagram of another information switching processing apparatus according to an embodiment of the present invention is shown.
The information switching processing device of the embodiment of the invention comprises: a handover request receiving module 410, a handover item filtering module 420 and a second handover item adapting module 430.
The functions of the modules and the interaction relationship between the modules are described in detail below.
A switching request receiving module 410, configured to obtain a switching request sent by a client, where the switching request is sent when target information of the client changes, the target information includes M information dimensions, and a top-bottom relationship exists between any one of the M information dimensions and at least another information dimension, where M is a positive integer greater than 1;
a switching item filtering module 420, configured to filter an initially set switching item to obtain N mutually disjoint switching items, where N is a positive integer, and the switching item is information switching in at least one information dimension;
a second switching item adapting module 430, configured to obtain, according to the current target information of the client, a target switching item adapted to the client from the N switching items, so as to adjust, based on the target switching item, an information tag corresponding to the target information in the client.
Optionally, in this embodiment of the present invention, the second handover item adaptation module is specifically configured to:
and generating a switching instruction aiming at the target information based on the N switching items, and sending the switching instruction to the client, so that the client can obtain a target switching item adapted to the current target information of the client from the switching instruction, and adjust an information label corresponding to the target information in the client based on the target switching item.
Optionally, in this embodiment of the present invention, the second handover item adaptation module is specifically configured to:
acquiring current target information of the client carried by the switching request, and acquiring a target switching item adapted to the client from the N switching items according to the current target information;
and generating a switching instruction aiming at the target information based on the target switching item and sending the switching instruction to the client so that the client can obtain the target switching item adapted to the current target information of the client from the switching instruction and adjust an information label corresponding to the target information in the client based on the target switching item.
The information switching processing apparatus provided in the embodiment of the present invention can implement each process implemented in the method embodiments of fig. 1 to fig. 3, and is not described herein again to avoid repetition.
Preferably, an embodiment of the present invention further provides an electronic device, including: the processor, the memory, and the computer program stored in the memory and capable of running on the processor, when executed by the processor, implement each process of the above-mentioned information switching processing method embodiment, and can achieve the same technical effect, and are not described herein again to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when being executed by a processor, the computer program implements each process of the information switching processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
The electronic device 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 6 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 502, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the electronic apparatus 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 506. The image frames processed by the graphic processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The electronic device 500 also includes at least one sensor 505, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 5061 and/or a backlight when the electronic device 500 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 6, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 508 is an interface for connecting an external device to the electronic apparatus 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic apparatus 500 or may be used to transmit data between the electronic apparatus 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 509 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 510 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the electronic device. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The electronic device 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system.
In addition, the electronic device 500 includes some functional modules that are not shown, and are not described in detail herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (13)

1. An information switching processing method, characterized in that the method comprises:
responding to the change of the target information of the client, and acquiring a target switching item adapted to the current target information of the client; the target information comprises M information dimensions, an up-down relation exists between any one of the M information dimensions and at least one other information dimension, M is a positive integer larger than 1, and the target switching item is information switching under at least one information dimension;
and adjusting an information tag corresponding to the target information in the client based on the target switching item.
2. The method according to claim 1, wherein the step of obtaining the target handover item adapted to the current target information of the client in response to the target information of the client changing comprises:
responding to the change of target information of a client, and acquiring a switching instruction sent by a server aiming at the target information; the switching instruction comprises N switching items which are not intersected, the switching items are information switching under at least one information dimension, and N is a positive integer;
and acquiring a target switching item adapted to the current target information of the client from the switching instruction.
3. The method according to claim 1, wherein the step of obtaining the target handover item adapted to the current target information of the client in response to the target information of the client changing comprises:
responding to the change of target information of a client, acquiring the current target information of the client, and uploading the current target information to a server;
and acquiring a switching instruction sent by the server aiming at the target information, wherein the switching instruction comprises the target switching item, the target switching item is obtained by the server in an adaptive manner from N switching items according to the current target information of the client, the switching items in the N switching items are not intersected, the switching items are information switching under at least one information dimension, and N is a positive integer.
4. The method according to any one of claims 1-3, wherein the step of adjusting the information tag corresponding to the target information in the client based on the target handover item comprises:
rendering a prompt popup window aiming at the target switching item at the client, wherein the prompt popup window at least comprises a target control for confirming switching;
and responding to the received trigger operation of the user for the target control in the client, and adjusting an information label corresponding to the target information at the client.
5. The method according to any one of claims 1-3, wherein the value of M is 2, the value of N is any positive integer from 1 to 4, and the M information dimensions include a city dimension and a county dimension, or a county dimension and a town dimension.
6. The method of claim 5, wherein the switch term comprises at least one of X switch to XY, first switch term, second switch term, and third switch term, the first switching item comprises any one of X switching to X ', X switching to X ' Y, the second switching item comprises any one of XY switching to X, XY switching to XY ', the third switching item comprises any one of XY switching to X ' Y ', X ' Y switching to X, the X represents any information item under the first information dimension, the XY represents any information item with the X as the upper level under the second information dimension, the X ' represents another information item with the X ' as the upper level under the first information dimension, the X ' Y represents any information item with the X ' as the upper level under the second information dimension, and the X ' Y ' represents another information item with the X ' as the upper level under the second information dimension and different from the Y.
7. An information switching processing method, characterized in that the method comprises:
acquiring a switching request sent by a client, wherein the switching request is sent under the condition that target information of the client is changed, the target information comprises M information dimensions, an upper-level and lower-level relation exists between any one information dimension and at least one other information dimension in the M information dimensions, and M is a positive integer greater than 1;
filtering the initially set switching items to obtain N mutually disjoint switching items, wherein N is a positive integer, and the switching items are information switching under at least one information dimension;
and acquiring a target switching item adapted to the client from the N switching items according to the current target information of the client, so as to adjust an information tag corresponding to the target information in the client based on the target switching item.
8. The method according to claim 7, wherein the step of obtaining the target handover item adapted by the client from the N handover items according to the current target information of the client comprises:
and generating a switching instruction aiming at the target information based on the N switching items, and sending the switching instruction to the client, so that the client can obtain a target switching item adapted to the current target information of the client from the switching instruction, and adjust an information label corresponding to the target information in the client based on the target switching item.
9. The method according to claim 7, wherein the step of obtaining the target handover item adapted by the client from the N handover items according to the current target information of the client comprises:
acquiring current target information of the client carried by the switching request, and acquiring a target switching item adapted to the client from the N switching items according to the current target information;
and generating a switching instruction aiming at the target information based on the target switching item and sending the switching instruction to the client so that the client can obtain the target switching item adapted to the current target information of the client from the switching instruction and adjust an information label corresponding to the target information in the client based on the target switching item.
10. An information switching processing apparatus, characterized in that the apparatus comprises:
the first switching item adapting module is used for responding to the change of the target information of the client and acquiring a target switching item adapted to the current target information of the client; the target information comprises M information dimensions, an up-down relation exists between any one of the M information dimensions and at least one other information dimension, M is a positive integer larger than 1, and the target switching item is information switching under at least one information dimension;
and the information switching processing module is used for adjusting the information label corresponding to the target information in the client based on the target switching item.
11. An information switching processing apparatus, characterized in that the apparatus comprises:
the switching request receiving module is used for acquiring a switching request sent by a client, wherein the switching request is sent under the condition that target information of the client is changed, the target information comprises M information dimensions, an upper-level relation and a lower-level relation exist between any one information dimension and at least another information dimension in the M information dimensions, and M is a positive integer larger than 1;
the switching item filtering module is used for filtering the switching items which are initially set to obtain N mutually disjoint switching items, wherein N is a positive integer, and the switching items are information switching under at least one information dimension;
and the second switching item adapting module is used for acquiring a target switching item adapted to the client from the N switching items according to the current target information of the client so as to adjust an information tag corresponding to the target information in the client based on the target switching item.
12. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the information switching processing method according to any of claims 1 to 9.
13. A computer-readable storage medium, characterized in that a computer program is stored thereon, which, when being executed by a processor, implements the steps of the information switching processing method according to any one of claims 1 to 9.
CN202110352844.2A 2021-03-31 2021-03-31 Information switching processing method and device, electronic equipment and storage medium Active CN113158085B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110352844.2A CN113158085B (en) 2021-03-31 2021-03-31 Information switching processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110352844.2A CN113158085B (en) 2021-03-31 2021-03-31 Information switching processing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113158085A true CN113158085A (en) 2021-07-23
CN113158085B CN113158085B (en) 2023-06-13

Family

ID=76886340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110352844.2A Active CN113158085B (en) 2021-03-31 2021-03-31 Information switching processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113158085B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101883318A (en) * 2010-06-23 2010-11-10 宇龙计算机通信科技(深圳)有限公司 Method and mobile terminal for updating region related information according to geographical position changes
CN102006566A (en) * 2010-11-15 2011-04-06 宇龙计算机通信科技(深圳)有限公司 Method, server and terminal for updating weather forecast city list
US20140222916A1 (en) * 2013-02-04 2014-08-07 Haworth, Inc. Collaboration system including a spatial event map
WO2017172496A1 (en) * 2016-03-29 2017-10-05 Microsoft Technology Licensing, Llc Tabs in system task switchers
CN108061558A (en) * 2017-11-30 2018-05-22 深圳中兴网信科技有限公司 intelligent route navigation method, device, server, mobile terminal and storage medium
WO2018113524A1 (en) * 2016-12-21 2018-06-28 广州阿里巴巴文学信息技术有限公司 Information stream displaying method, system, and user terminal
CN110072228A (en) * 2019-04-29 2019-07-30 努比亚技术有限公司 A kind of method for switching network, terminal and computer readable storage medium
CN110458596A (en) * 2019-06-21 2019-11-15 口碑(上海)信息技术有限公司 Choose method, apparatus and storage medium that region is launched in advertisement under line
CN111723843A (en) * 2020-05-15 2020-09-29 五八有限公司 Sign-in method, device, electronic equipment and storage medium
CN112364217A (en) * 2020-10-15 2021-02-12 北京五八信息技术有限公司 Information display method and device, electronic equipment and storage medium
CN112433654A (en) * 2020-12-02 2021-03-02 五八同城信息技术有限公司 Page display method and device, electronic equipment and computer readable medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101883318A (en) * 2010-06-23 2010-11-10 宇龙计算机通信科技(深圳)有限公司 Method and mobile terminal for updating region related information according to geographical position changes
CN102006566A (en) * 2010-11-15 2011-04-06 宇龙计算机通信科技(深圳)有限公司 Method, server and terminal for updating weather forecast city list
US20140222916A1 (en) * 2013-02-04 2014-08-07 Haworth, Inc. Collaboration system including a spatial event map
WO2017172496A1 (en) * 2016-03-29 2017-10-05 Microsoft Technology Licensing, Llc Tabs in system task switchers
WO2018113524A1 (en) * 2016-12-21 2018-06-28 广州阿里巴巴文学信息技术有限公司 Information stream displaying method, system, and user terminal
CN108061558A (en) * 2017-11-30 2018-05-22 深圳中兴网信科技有限公司 intelligent route navigation method, device, server, mobile terminal and storage medium
CN110072228A (en) * 2019-04-29 2019-07-30 努比亚技术有限公司 A kind of method for switching network, terminal and computer readable storage medium
CN110458596A (en) * 2019-06-21 2019-11-15 口碑(上海)信息技术有限公司 Choose method, apparatus and storage medium that region is launched in advertisement under line
CN111723843A (en) * 2020-05-15 2020-09-29 五八有限公司 Sign-in method, device, electronic equipment and storage medium
CN112364217A (en) * 2020-10-15 2021-02-12 北京五八信息技术有限公司 Information display method and device, electronic equipment and storage medium
CN112433654A (en) * 2020-12-02 2021-03-02 五八同城信息技术有限公司 Page display method and device, electronic equipment and computer readable medium

Also Published As

Publication number Publication date
CN113158085B (en) 2023-06-13

Similar Documents

Publication Publication Date Title
CN111049979B (en) Application sharing method, electronic equipment and computer readable storage medium
CN109101147B (en) Message notification display method and terminal
US10768881B2 (en) Multi-screen interaction method and system in augmented reality scene
CN108132752B (en) Text editing method and mobile terminal
CN109032468B (en) Method and terminal for adjusting equipment parameters
CN111026484A (en) Application sharing method, first electronic device and computer-readable storage medium
CN109814786B (en) Image storage method and terminal equipment
CN110166439B (en) Equipment sharing method, terminal, router and server
CN108900695B (en) Display processing method, terminal equipment and computer readable storage medium
CN110659098B (en) Data updating method and device, terminal equipment and storage medium
CN109189303B (en) Text editing method and mobile terminal
CN108984066B (en) Application icon display method and mobile terminal
CN111124706A (en) Application program sharing method and electronic equipment
CN111163449B (en) Application sharing method, first electronic device and computer-readable storage medium
CN111090489A (en) Information control method and electronic equipment
CN111130995B (en) Image control method, electronic device, and storage medium
CN111240551B (en) Application program control method and electronic equipment
CN109683764B (en) Icon management method and terminal
CN111443968A (en) Screenshot method and electronic equipment
CN110780795A (en) Screen capturing method and electronic equipment
CN108319409B (en) Application program control method and mobile terminal
CN110928616A (en) Shortcut icon management method and electronic equipment
CN111142998A (en) Sharing method of background application and electronic equipment
CN111241436A (en) Data request processing method and device, terminal equipment and storage medium
CN111045588B (en) Information viewing method and electronic equipment

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