CN114124924A - Method, equipment and system for determining configuration information - Google Patents

Method, equipment and system for determining configuration information Download PDF

Info

Publication number
CN114124924A
CN114124924A CN202010865333.6A CN202010865333A CN114124924A CN 114124924 A CN114124924 A CN 114124924A CN 202010865333 A CN202010865333 A CN 202010865333A CN 114124924 A CN114124924 A CN 114124924A
Authority
CN
China
Prior art keywords
configuration information
version number
request message
latest version
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010865333.6A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology 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 Guangdong Oppo Mobile Telecommunications Corp Ltd, Shenzhen Huantai Technology Co Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010865333.6A priority Critical patent/CN114124924A/en
Publication of CN114124924A publication Critical patent/CN114124924A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/0833Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability for reduction of network energy consumption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a method, equipment and a system for determining configuration information, which are applied to the technical field of communication and can solve the problem that the power consumption of terminal equipment and a server is increased because the terminal equipment frequently pulls the configuration information to the server. The method comprises the following steps: receiving the latest version number of the configuration information; if the latest version number is not consistent with the current version number of the local configuration information, sending a first request message, wherein the first request message is used for requesting the server for first configuration information corresponding to the latest version number and comprises the latest version number; receiving target configuration information, the target configuration information being determined according to the first configuration information.

Description

Method, equipment and system for determining configuration information
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a method, equipment and a system for determining configuration information.
Background
Currently, corresponding configuration information (for example, the number of executable threads, configuration information of network parameters, and the like) is provided for different terminal devices (which may also be referred to as clients), and is generally provided on a server side, and a manager of the server performs regular maintenance. The terminal device can actively request the configuration information from the server at regular time, the server returns the configuration information to the terminal device, and the terminal device does not know whether the configuration information of the server is updated or not, so that the configuration information is likely to be requested for many times and belongs to invalid behaviors, and the terminal device frequently pulls the configuration information to the server, and the operation power consumption of the terminal device and the server can be increased.
Disclosure of Invention
Embodiments of the present invention provide a method, a device, and a system for determining configuration information, so as to solve a problem in the prior art that operation power consumption of a terminal device and a server may be increased when the terminal device frequently pulls configuration information to the server. In order to solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, a method for determining configuration information is provided, the method including:
receiving the latest version number of the configuration information;
if the latest version number is not consistent with the current version number of the local configuration information, sending a first request message, wherein the first request message is used for requesting the server for first configuration information corresponding to the latest version number, and the first request message comprises the latest version number;
and acquiring the first configuration information.
In a second aspect, a method for determining configuration information is provided, the method comprising:
receiving a first request message, wherein the first request message is used for requesting first configuration information corresponding to a latest version number from a server, and the first request message comprises the latest version number;
and sending target configuration information, wherein the target configuration information is determined according to the first configuration information.
In a third aspect, a method for determining configuration information is provided, the method comprising: and sending the latest version number of the configuration information to the terminal equipment.
In a fourth aspect, a terminal device is provided, which includes:
the receiving module is used for receiving the latest version number of the configuration information;
a sending module, configured to send a first request message if the latest version number is not consistent with the current version number of the local configuration information, where the first request message is used to request the server for the first configuration information corresponding to the latest version number, and the first request message includes the latest version number.
In a fifth aspect, a terminal device is provided, which includes:
a memory storing executable program code;
a processor coupled with the memory;
the processor calls the executable program code stored in the memory to execute the method for determining configuration information in the first aspect of the embodiment of the present invention.
In a sixth aspect, a computer-readable storage medium is provided, which stores a computer program, the computer program enabling a computer to execute the method for determining configuration information in the first aspect of the embodiment of the present invention.
In a seventh aspect, a server is provided, including:
a receiving module, configured to receive a first request message, where the first request message is used to request a server for first configuration information corresponding to a latest version number, and the first request message includes the latest version number;
a sending module, configured to send target configuration information, where the target configuration information is determined according to the first configuration information.
In an eighth aspect, there is provided a server comprising:
a processor, a memory and a computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the method of determining configuration information according to the second aspect.
In a ninth aspect, a computer-readable storage medium is provided, which stores a computer program, the computer program causing a computer to execute the method for determining configuration information in the second aspect of the embodiment of the present invention.
In a tenth aspect, there is provided a gateway comprising:
and the sending module is used for sending the latest version number of the configuration information to the terminal equipment.
In an eleventh aspect, there is provided a gateway comprising:
a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the method of determining configuration information according to the third aspect.
In a twelfth aspect, a computer-readable storage medium is provided, which stores a computer program, the computer program causing a computer to execute the method for determining configuration information in the second aspect of the embodiment of the present invention.
In a fifth aspect, a computer program product is provided, which, when run on a computer, causes the computer to perform the method of determining configuration information of the first aspect, or the method of determining configuration information of the second aspect, or the method of determining configuration information of the third aspect.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the present invention, a terminal device may receive a latest version number of configuration information, and if the latest version number is not consistent with a current version number of local configuration information, send a first request message to request, to a server, first configuration information corresponding to the latest version number, where the first request message includes the latest version number, and obtain target configuration information determined according to the first configuration information. By the scheme, before the terminal equipment requests the configuration information from the server, the latest version number of the configuration information can be received, the latest version number is compared with the current version number of the local configuration information, under the condition that the latest version number is inconsistent with the current version number of the local configuration information, the local configuration information is considered not to be the latest configuration information, at the moment, a first request message is sent to request the first configuration information corresponding to the latest version number, and the target configuration information determined according to the first configuration information is received, so that when the configuration information is obtained, the local version number can be compared with the latest version number (sent by a gateway or the server), whether the configuration information of the updated version exists or not can be determined according to the comparison result, the configuration information related to the latest version number is requested from the server after the configuration information of the updated version exists, and frequent pulling of the configuration information from the server can be avoided, thereby reducing the power consumption of the terminal device and the server.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described 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 according to these drawings without creative efforts.
FIG. 1 is a diagram illustrating a configuration change notification implemented by a pull model according to an embodiment of the present invention;
fig. 2 is a schematic diagram of implementing a configuration change notification by using a push model according to an embodiment of the present invention;
fig. 3 is a schematic architecture diagram of a communication system according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a first method for determining configuration information according to an embodiment of the present invention;
fig. 5A is a schematic flowchart illustrating a second method for determining configuration information according to an embodiment of the present invention;
fig. 5B is a schematic view illustrating a loss of a gray scale publishing process according to an embodiment of the present invention;
fig. 5C is a first schematic interface diagram of a server according to an embodiment of the present invention;
fig. 5D is a schematic diagram of an interface of a server according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a gateway according to an embodiment of the present invention;
FIG. 9 is a system architecture diagram for determining configuration information according to an embodiment of the present invention;
fig. 10 is a schematic diagram of a hardware structure of a mobile phone according to an 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.
The terms "first" and "second," and the like, in the description and in the claims of the present invention are used for distinguishing between different objects and not for describing a particular order of the objects. For example, the first request message and the second request message, etc. are for distinguishing different request messages, rather than for describing a particular order of the two request messages.
The terms "comprises," "comprising," and any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that, in the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
Currently, corresponding configuration information (for example, the number of executable threads, configuration information of network parameters, and the like) is provided for different terminal devices (which may also be referred to as clients), and is generally provided on a server side, and a manager of the server performs regular maintenance. In the related art, a scenario in which the terminal device acquires the configuration information may include the following two ways:
one way, as shown in fig. 1, an administrator of the server updates configuration information at the server side, the terminal device may periodically and actively request the server for the configuration information, and the server returns the configuration information to the terminal device.
In another mode, as shown in fig. 2, an administrator of the server updates the configuration information of the server, and in a case that the administrator updates the configuration information, the server actively pushes new configuration information to the terminal device. In this manner, the server needs to maintain a long connection with the terminal device, consuming system resources between the server and the terminal device.
Based on the above problem, in the embodiment of the present invention, before the terminal device requests the server for the configuration information, the latest version number of the configuration information may be received, when the latest version number is compared with the current version number of the local configuration information and is found to be inconsistent with the current version number of the local configuration information, the local configuration information is considered not to be the latest configuration information, at this time, a first request message may be sent to request the first configuration information corresponding to the latest version number, and the target configuration information determined according to the first configuration information is received, so that when the configuration information is obtained, the local version number may be compared with the latest version number (sent by the gateway or the server) first, and according to the comparison result, it may be determined whether there is the configuration information of the updated version, and after it is determined that there is the configuration information of the updated version, the configuration information associated with the latest version number is requested from the server, therefore, frequent pulling of configuration information to the server can be avoided, and power consumption of the terminal device and the server is reduced.
The method for determining the configuration information provided by the embodiment of the invention can be applied to a communication system comprising terminal equipment, a server and a gateway. The gateway can be a micro-service gateway, and the server can be a cloud control server.
Fig. 3 is a schematic architecture diagram of a communication system, and the method for determining configuration information according to the embodiment of the present invention may be applied to the communication system shown in fig. 3. The communication system includes: the system comprises a terminal device, a micro service gateway, namely an Application Programming Interface (API)), a cloud control server, a database associated with the cloud control server, a service server and a Content Delivery Network (CDN). A plurality of application programs may be installed in the terminal device (labeled as a client in fig. 3), where each application program may include a Software Development Kit (SDK), and the cloud control server may include a plurality of configuration files. An administrator of the cloud control server (denoted as a cloud control server in fig. 3) may maintain and modify a configuration file (including configuration information, a version number of the configuration information, and the like) in the cloud control server, and store related information of the modified configuration file and related information of a historical configuration file in a database associated with the cloud control server (that is, data is synchronized between the cloud control server and the database), and the cloud control server and the micro service gateway may synchronize the version number of the configuration information.
When the method for determining configuration information provided in the embodiment of the present invention is applied to the communication system shown in fig. 1, a terminal device may send a service request packet to a micro service gateway, where a header of the service request packet may carry a current version number of local configuration information of the terminal device, so that the micro service gateway may send a latest version number of the configuration information to the terminal device after receiving the service request packet, the terminal device may compare the latest version number with the current version number, and if the latest version number is not the same as the current version number, it indicates that the configuration information is updated, at this time, the terminal device may request a server for first configuration information (i.e., request to check updated configuration information) corresponding to the latest version number, and the server may send the first configuration information to the terminal device, or in a case that the server knows the local configuration information of the terminal device, different configuration information of the first configuration information compared with the local configuration information can be sent to the terminal equipment, so that the terminal equipment can determine new configuration information and pull the configuration information from the server.
In the above system, after the terminal device receives the new configuration information, the SDK in the application may update each function of the application based on the new configuration information.
Further, after receiving the service request message, the micro service gateway may also send the service request message to a service server to request the service server to issue corresponding service data.
Optionally, after receiving the service request message, the micro service gateway may further send the service request message to a cloud control server, where the cloud control server may also issue corresponding service data to the terminal device, and when the cloud control server issues a larger non-configuration information file (possibly service data) to the terminal device, the cloud control server may first send the larger non-configuration information file to a CDN cache, and then the larger non-configuration information file is issued to the terminal device by the CDN.
The method for determining the configuration information provided by the embodiment of the invention can be realized through interaction among the terminal equipment, the gateway and the server.
In the embodiment of the present invention, the terminal device may be a mobile phone (mobile phone), a tablet computer (pad), a computer with a wireless transceiving function, a Virtual Reality (VR) terminal device, an Augmented Reality (AR) terminal device, a wireless terminal device in industrial control (industrial control), a wireless terminal device in self driving (self driving), a wireless terminal device in remote medical (remote medical), a wireless terminal device in smart grid (smart grid), a wireless terminal device in transportation safety (transportation safety), a wireless terminal device in city (smart city), a wireless terminal device in smart home (smart home), or the like.
Example one
As shown in fig. 4, an embodiment of the present invention provides a method for determining configuration information, where the method includes:
401. and the terminal equipment sends the current version number of the local configuration information of the terminal equipment to the gateway.
Correspondingly, the gateway receives the current version number of the local configuration information of the terminal equipment, which is sent by the terminal equipment.
In the embodiment of the present invention, the local configuration information of the terminal device refers to configuration information currently applied by the terminal device.
In the embodiment of the present invention, the configuration information may refer to parameters set for each function of the terminal device. Such as the number of threads that can be run, network parameters, etc.
Typically, the configuration information is stored in a server, maintained and modified periodically by an administrator. The server can send the configuration information to the terminal device, and the terminal device can serve as local configuration information after receiving the latest configuration information sent by the server, so as to support the operation of each function of the terminal device.
Optionally, in the embodiment of the present invention, the terminal device may also directly send the current version number of the local configuration information of the terminal device to the server. Correspondingly, the server receives the current version number of the local configuration information of the terminal equipment, which is sent by the terminal equipment.
When the terminal device sends the current version number of the local configuration information of the terminal device to the gateway, two modes are available:
one way is to send the current version number of the local configuration information in a new message.
Another way is to send the current version number of the local configuration information carried in the existing message.
When the sending mode is adopted, the current version number data of the local configuration information is very small, so the terminal equipment can carry the local configuration information in the existing message, and the current version number of the local configuration information is sent out along with the existing message. Accordingly, the gateway receives the message, and can obtain the current version number of the local configuration information. In this way, these messages can be multiplexed, thereby reducing unnecessary processing tasks by the gateway.
Optionally, the current version number of the local configuration information may be carried in the service request message, or may be carried in other messages.
Optionally, the current version number of the local configuration information is carried in the service request message.
Since the terminal device does not immediately update or use the configuration information even if it receives the latest configuration information in the case where no application is in use, it is not necessary to transmit the configuration information to the terminal device in the case where no application is in use in the terminal device.
Generally, a terminal device sends a service request message to a server under the condition of using an application program, so that the current version number of the configuration information can be sent to the terminal device by carrying the current version number of the configuration information in the service request message without adding a message.
In the embodiment of the present invention, the server may be a cloud control server, the cloud control server is used to maintain configuration information and respond to some service requests, and unlike the cloud control server, the service server is a server that responds to all service requests of the terminal device.
Optionally, after receiving the service request packet, the gateway may send the service request packet to the service server to request the service server to issue corresponding service data, and may also send the service request packet to the cloud control server.
402. And the gateway sends the latest version number of the configuration information to the terminal equipment.
Correspondingly, the terminal device receives the latest version number of the configuration information.
In the embodiment of the invention, the gateway receives the current version number of the local configuration information of the terminal equipment, compares the current version number with the latest version number stored in the gateway, and sends the latest version number stored in the gateway to the terminal equipment when the current version number is inconsistent with the latest version number stored in the gateway.
Optionally, corresponding to the terminal device directly sending the current version number of the local configuration information of the terminal device to the server in 401, the server may send the latest version number of the configuration information to the terminal device.
Optionally, after receiving the current version number of the local configuration information sent by the terminal device, the gateway sends the current version number of the local configuration information to the server; correspondingly, the server receives the current version number of the local configuration information of the terminal equipment, which is sent by the gateway.
Optionally, the server sends the latest version number of the configuration information to the terminal device; correspondingly, the terminal device receives the latest version number of the configuration information.
Optionally, if the current version number of the local configuration information received by the gateway is consistent with the latest version number stored in the gateway, it indicates that the current version number used by the terminal device is the latest version number compared with the latest version number stored in the gateway, and in this case, the gateway does not send the latest version number to the terminal device.
Optionally, if the gateway receives that the current version number of the local configuration information of the terminal device is consistent with the latest version number stored in the gateway, it indicates that the current version number used by the terminal device is the latest version number compared with the latest version number stored in the gateway, and in this case, the gateway sends the latest version number consistent with the current version number of the local configuration information to the terminal device to notify that the current version number of the local configuration information of the terminal device is the latest.
Optionally, if the current version number of the local configuration information received by the gateway is consistent with the latest version number stored in the gateway, the gateway sends a message requesting the latest version number to the server to obtain the latest version number of the server, so as to update the latest version number stored in the gateway.
403. And the terminal equipment compares the latest version number with the current version number of the local configuration information.
If the latest version number is not consistent with the current version number of the local configuration information, and if the latest version number received by the terminal device is not consistent with the current version number of the local configuration information, the terminal device may determine that the local configuration information is not the latest configuration information, and at this time, the terminal device sends a first request message.
If the latest version number received by the terminal device is not consistent with the current version number of the local configuration information, which indicates that the local configuration information is not the latest configuration information, executing 404; and if the latest version number received by the terminal equipment is consistent with the current version number of the local configuration information, which indicates that the local configuration information is the latest configuration information, the terminal equipment does not send a first request message to the server.
Optionally, if the latest version number received by the terminal device is consistent with the current version number of the local configuration information, the terminal device may send the current version number of the local configuration information to the gateway again after a certain time interval.
404. The terminal device sends a first request message to the server.
Accordingly, the server receives the first request message.
In the embodiment of the present invention, the first request message sent by the terminal device is used to request the server for the first configuration information corresponding to the latest version number, and the first request message includes the latest version number. After receiving a first request message sent by a gateway, a server acquires a latest version number from the first request message, and determines first configuration information according to the latest version number.
The first request message may have the following situations according to different contents included in the first request message:
(1) the first request message includes the latest version number.
Further, the terminal device may send the current version number of the local configuration information to the server through other messages in addition to the first message shown in (1).
The terminal device sends the current version number of the local configuration information to the server, and the method comprises two conditions: the first is that the terminal equipment directly sends the current version number of the local configuration information to the server; the other is
And the terminal equipment sends the current version number of the local configuration information to the gateway, and the gateway forwards the current version number of the local configuration information to the server.
(2) The first request message includes the latest version number and the current version number of the local configuration information.
(3) The first request message comprises a latest version number and a target protocol identifier, wherein the target protocol identifier is a protocol identifier of the target class configuration information.
In the embodiment of the invention, the configuration information can be classified, and the classification can be specifically carried out according to actual requirements. Illustratively, the configuration information may include: downloading configuration information, network service configuration information, webpage browsing configuration information, interface control configuration information and the like.
Optionally, in the embodiment of the present invention, different protocol identifiers may be set for different types of configuration information.
Optionally, for different terminal devices, a corresponding protocol identifier may be selected, so as to request the server for the target class configuration information corresponding to the protocol identifier.
Optionally, the terminal device may send the current version number of the local configuration information to the server in addition to the first message.
(4) The first request message includes the latest version number, the current version number of the local configuration information, and the target protocol identifier. And the target protocol identifier is the protocol identifier of the target class configuration information.
405. And the server determines the first configuration information according to the latest version number in the first request message.
In the embodiment of the invention, after receiving a first request message sent by a terminal device, a server acquires a latest version number from the first request message, and determines first configuration information according to the acquired latest version number. The server can determine the target configuration information according to the first configuration information and send the target configuration information to the terminal equipment.
Optionally, the target configuration information may have the following four types:
first, the target configuration information may be different configuration information in the first configuration information than the local configuration information.
The server may receive the latest version number and the current version number of the terminal device, determine the first configuration information stored corresponding to the latest version number, determine the configuration information stored corresponding to the current version number (i.e., the local configuration information of the terminal device), and obtain partial configuration information updated relative to the local configuration information of the terminal device in the first configuration information according to the configuration information corresponding to the two determined version numbers.
The current version number of the local configuration information may be the current version number of the local configuration information that the server has received the terminal device or the gateway before receiving the first request message, or the current version number and the latest version number of the local configuration information that the server acquires from the received first request message.
Second, the target configuration information is the target class configuration information in the first configuration information.
The server can receive the latest version number and the target protocol identification, the server can determine the first configuration information stored corresponding to the latest version number and determine the protocol corresponding to the target protocol identification, and the target type configuration information in the first configuration information is obtained by combining the determined first configuration information and the protocol.
And thirdly, the target configuration information is the target class configuration information in different configuration information compared with the local configuration information in the first configuration information.
The server may receive the latest version number, the current version number of the terminal device, and the target protocol identification. The server determines first configuration information stored corresponding to the latest version number and configuration information (namely local configuration information of the terminal device) stored corresponding to the current version number, obtains partial configuration information updated relative to the local configuration information of the terminal device in the first configuration information according to the configuration information corresponding to the two determined version numbers, and then obtains target class configuration information in the partial configuration information according to a protocol determined by a target protocol identifier.
The current version number of the local configuration information may be the current version number of the local configuration information that the server has received the terminal device or the gateway from before receiving the first request message; alternatively, the server may obtain the current version number of the local configuration information from the received first request message.
And fourthly, directly taking the first configuration information as target configuration information.
The server may receive the latest version number, determine first configuration information stored corresponding to the latest version number, and use the obtained first configuration information as target configuration information.
In the embodiment of the present invention, when the server sends the configuration information to the terminal device, the server may adopt a full-size issuing mode, that is, issue the fourth configuration information to the terminal device, or adopt an incremental issuing mode, that is, issue the first to third configuration information to the terminal device, which provides various schemes for determining the configuration information, so that the server can flexibly issue the configuration information to the terminal device.
Furthermore, when the configuration information is sent to the terminal device in an incremental issuing manner, the data volume of the issued configuration information can be reduced, so that the time for issuing the configuration information can be saved, and the communication resources between the terminal device and the server can be saved.
406. The server sends the target configuration information to the terminal device.
Accordingly, the terminal device receives the target configuration information.
Optionally, the server may carry the target configuration information in a certain message and send the message to the terminal device.
Optionally, after the server determines the target configuration information, the target configuration information may be carried in a certain message, and the message carries indication information of the configuration information, where the indication information may represent which of the above four types of target configuration information the target configuration information is. Therefore, after receiving the target configuration information, the terminal device can determine the first configuration information by adopting a corresponding method by identifying the indication information in the target configuration information.
407. And the terminal equipment determines first configuration information according to the target configuration information.
Corresponding to the four target configuration information described in 405, the terminal device may determine the first configuration information by using the following four corresponding determination methods:
in a first manner, if the target configuration information is different configuration information from the local configuration information in the first configuration information, the terminal device may determine the first configuration information by combining the target configuration information and the local configuration information.
And secondly, if the target configuration information is the target type configuration information in the first configuration information, the terminal equipment can determine the first configuration information through the protocol indicated by the protocol identifier and the target type configuration information.
If the target configuration information is the target type configuration information in different configuration information of the first configuration information compared with the local configuration information, the terminal device may first determine the different configuration information of the first configuration information compared with the local configuration information through the protocol and the target configuration information; and determining the first configuration information by combining the different configuration information and the local configuration information.
And if the target configuration information is the first configuration information, the terminal equipment can directly determine the first configuration information.
Optionally, in the embodiment of the present invention, after the terminal device obtains the target configuration information, the software development kit in the application program in the terminal device may update each function of the application program based on the target configuration information and based on the new configuration information.
Optionally, in this embodiment of the present invention, after the terminal device obtains the first configuration information, the software development kit in the application program in the terminal device may update each function of the application program based on the target configuration information and based on the first configuration information.
In the embodiment of the present invention, the terminal device may receive the latest version number of the configuration information, and if the latest version number is not consistent with the current version number of the local configuration information, send a first request message to request the server for the first configuration information corresponding to the latest version number, where the first request message includes the latest version number, and obtain the target configuration information determined according to the first configuration information. By the scheme, before the terminal equipment requests the configuration information from the server, the latest version number of the configuration information can be received, the latest version number is compared with the current version number of the local configuration information, under the condition that the latest version number is inconsistent with the current version number of the local configuration information, the local configuration information is considered not to be the latest configuration information, at the moment, a first request message is sent to request the first configuration information corresponding to the latest version number, and the target configuration information determined according to the first configuration information is received, so that when the configuration information is obtained, the local version number can be compared with the latest version number (sent by a gateway or the server), whether the configuration information of the updated version exists or not can be determined according to the comparison result, the configuration information related to the latest version number is requested from the server after the configuration information of the updated version exists, and frequent pulling of the configuration information from the server can be avoided, thereby reducing the power consumption of the terminal device and the server.
Example two
As shown in fig. 5, an embodiment of the present invention provides a method for determining configuration information, where the method includes:
501. the gateway sends a second request message to the server.
Correspondingly, the server receives the second request message sent by the gateway.
And the gateway sends a second request message for requesting the latest version number of the configuration information to the server in order to keep the latest version number stored consistent with the latest version number of the server, wherein the second request message comprises the current version number of the local configuration information of the terminal equipment.
502. The server sends the latest version number of the configuration information to the gateway.
The server may send the latest version number of the configuration information to the gateway after receiving the second request message sent by the gateway. Correspondingly, the gateway receives the latest version number of the configuration information sent by the server.
503. The gateway compares the received latest version number with the latest version number stored by the gateway.
If the latest version number is not consistent with the latest version number stored by the gateway, the following step 504 is executed; and if the latest version number is consistent with the latest version number stored by the gateway, the gateway does not update the latest version number stored locally.
504. And the gateway updates the latest version number stored locally to the latest version number received.
By executing the above 501 to 504, the version number stored by the gateway can be kept consistent with the latest version number of the server, and when the terminal device requests the latest version number, the gateway can directly send the stored version number as the latest version number to the terminal device, so that the processing pressure of the server can be relieved.
505. And the terminal equipment sends the current version number of the local configuration information of the terminal equipment to the gateway.
506. And the gateway sends the latest version number of the configuration information to the terminal equipment.
507. And the terminal equipment compares the latest version number with the current version number of the local configuration information.
508. The terminal device sends a first request message to the server.
509. And the server determines the first configuration information according to the latest version number in the first request message.
510. The server sends the target configuration information to the terminal device.
511. And the terminal equipment determines first configuration information according to the target configuration information.
The description of 505 and 511 may refer to the related description of 401 and 407 in the first embodiment, and is not repeated here to avoid repetition.
In the embodiment of the present invention, before the terminal device requests the server for the configuration information, the latest version number of the configuration information may be received, when the latest version number is compared with the current version number of the local configuration information and is found to be inconsistent with the current version number of the local configuration information, the local configuration information is considered not to be the latest configuration information, at this time, a first request message may be sent to request the first configuration information corresponding to the latest version number, and target configuration information determined according to the first configuration information is received, so that when the configuration information is obtained, the local version number may be compared with the latest version number (sent by the gateway or the server) first, and according to a comparison result, it is determined whether there is the configuration information of the updated version, and after it is determined that there is the configuration information of the updated version, the configuration information associated with the latest version number is requested from the server, so that frequent pulling of the configuration information from the server may be avoided, thereby reducing the power consumption of the terminal device and the server.
Generally, the issuing of new configuration information may cause a large influence on the operation of the terminal device, may change the operation parameters of some functions in the terminal device, and may cause some problems in the use process of the terminal device if the configuration information is set unreasonably or is not matched with some terminal devices.
In order to avoid these problems of a large number of terminal devices, as shown in fig. 5B, when the server issues the configuration information to the terminal devices, it may first issue the configuration information in a gray scale issue manner, that is, issue new configuration information for a small number of terminal devices served by the server, collect data of the operation conditions of the terminal devices after receiving the new configuration information, analyze the data, if the data show that the terminal devices have problems of unsmooth operation, burning operation, and the like after applying the configuration information, it may give up the configuration information issued by the gray scale issue, or adjust and optimize the configuration information (marked as giving up gray scale in fig. 5B), until it is determined that the optimized configuration information is applicable to the terminal devices, and then formally issue the optimized configuration information, so that the influence on the terminal equipment is reduced to the maximum extent, and the problems of a large number of terminal equipment can be avoided.
In the embodiment of the invention, the server can be configured with a corresponding operation interface to facilitate an administrator to modify or maintain the configuration information.
For example, as shown in fig. 5C, an interface schematic diagram of a server is shown, where terminal devices that issue configuration information may be screened from different dimensions, where the dimensions may include brands, APP versions, models, and the like, an administrator may flexibly select options to determine which terminal devices to issue configuration information, and such an operation interface may facilitate application of functions in a process of performing grayscale release or formal release.
For example, as shown in fig. 5D, an interface schematic diagram of another server is shown, where an option of a universal service is set in the interface, and sub-options of several configuration interfaces with universal configurations are correspondingly set under the option, where the sub-options include: formal version, grayscale version, protocol management, dimension management, and module management. The dimension management can be applied to terminal equipment selecting to release the configuration information from various angles, the module management is to divide the configuration condition according to service lines (which can also be understood as service types), the terminal equipment can be divided into a plurality of service lines, and then the module management is to divide a plurality of modules under each service line, so that an administrator can change the configuration information under some modules by selecting the service lines and the modules, and the operation of the administrator is facilitated.
In fig. 5D, the software store is divided. The game center, the main store, the mini-game, the quick application and the test of the modules, and a plurality of modules are divided under the service line of the software store.
In the embodiment of the invention, the operation interface is arranged at the server side, so that an administrator can conveniently and flexibly select an object for releasing the configuration information, and the local management of the configuration information is realized.
EXAMPLE III
As shown in fig. 6, an embodiment of the present invention provides a terminal device, where the terminal device includes:
the receiving module 601 is configured to receive the latest version number of the configuration information and the server issues the target configuration information.
A sending module 603, configured to send a first request message if the latest version number is not consistent with the current version number of the local configuration information, where the first request message is used to request the server for the first configuration information corresponding to the latest version number, and the first request message includes the latest version number.
Optionally, as shown in fig. 6, the terminal device may further include:
a processing module 602, configured to determine whether the latest version number is consistent with the current version number of the local configuration information; and determining first configuration information according to the target configuration information, and updating the local configuration information into the first configuration information.
Optionally, the sending module 603 is further configured to send the current version number of the local configuration information before the receiving module 601 receives the latest version number of the configuration information;
the target configuration information is different configuration information of the first configuration information compared with the local configuration information.
Optionally, the first request message further includes a current version number;
the target configuration information is different configuration information of the first configuration information compared with the local configuration information.
Optionally, the first request message further includes a target protocol identifier, where the target protocol identifier is a protocol identifier of the target class configuration information;
the target configuration information is target class configuration information in the first configuration information.
Example four
As shown in fig. 7, an embodiment of the present invention provides a server, including:
a receiving module 701, configured to receive a first request message, where the first request message is used to request a server for first configuration information corresponding to a latest version number, and the first request message includes the latest version number;
a sending module 703 is configured to send target configuration information, where the target configuration information is determined according to the first configuration information.
Optionally, as shown in fig. 7, the server may further include:
a processing module 702, configured to obtain, from the first request message, whether the latest version number is consistent with the current version number of the local configuration information; and determining the target configuration information according to the latest version number and the current version number of the local configuration information.
Optionally, the sending module 703 is further configured to send the latest version number to the gateway before the receiving module 701 receives the first request message.
Optionally, the receiving module 701 is further configured to receive a second request message sent by the gateway before the latest version number is sent to the gateway, where the second request message is used to request the latest version number.
Optionally, the target configuration information is the first configuration information;
alternatively, the first and second electrodes may be,
the first request message also comprises the current version number of the local configuration information of the terminal equipment;
the target configuration information is different configuration information of the first configuration information compared with the local configuration information.
Optionally, the receiving module 701 is further configured to receive a current version number of the local configuration information of the terminal device before receiving the first request message; the target configuration information is different configuration information of the first configuration information compared with the local configuration information.
Optionally, the first request message further includes a target protocol identifier, where the target protocol identifier is a protocol identifier of target class configuration information;
the target configuration information is target class configuration information in the configuration information corresponding to the latest version number.
EXAMPLE five
As shown in fig. 8, an embodiment of the present invention provides a gateway, including:
a sending module 801, configured to send the latest version number of the configuration information to the terminal device.
A receiving module 803, configured to receive the latest version number of the local configuration information sent by the terminal device; and the latest version number of the server sync, etc.
Optionally, as shown in fig. 8, the gateway may further include a processing module 802.
A processing module 802, configured to determine whether the latest version number is consistent with the current version number of the local configuration information; and judging whether the latest version number stored by the gateway is consistent with the latest version number issued by the server, if not, updating the latest version number issued by the server to the latest version number stored by the gateway.
Optionally, the receiving module 803 is further configured to receive the first request message sent by the terminal device; the sending module 801 is further configured to send the first request message to the server, where the first request message is used to request the server for the first configuration information corresponding to the latest version number, and the first request message includes the latest version number.
Optionally, the first request message further includes a current version number of the local configuration information of the terminal device.
Optionally, the receiving module 803 is further configured to receive the current version number of the local configuration information sent by the terminal device before the sending module 801 sends the latest version number of the configuration information to the terminal device, and send the current version number of the local configuration information to the server.
EXAMPLE six
As shown in fig. 9, an embodiment of the present invention provides a system for determining configuration information, including:
the terminal device described in the third embodiment, the server described in the fourth embodiment, and the gateway described in the fifth embodiment. Wherein, communication connection exists among the terminal equipment, the server and the gateway.
An embodiment of the present invention may further provide a terminal device, where the terminal device may include:
a memory storing executable program code;
a processor coupled to the memory;
the processor calls the executable program codes stored in the memory to execute the method for determining the configuration information, which is executed by the terminal equipment in each method embodiment.
The terminal device in the embodiment of the present invention may be a mobile phone, and as shown in fig. 10, for example, the mobile phone may include: radio Frequency (RF) circuitry 1010, memory 1020, input unit 1030, display unit 1040, sensor 1050, audio circuitry 1060, wireless fidelity (WiFi) module 1070, processor 1080, and power source 1090. The radio frequency circuit 1010 includes a receiver 1010 and a transmitter 1012. Those skilled in the art will appreciate that the handset configuration shown in fig. 10 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
RF circuit 1010 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, for processing downlink information of a base station after receiving the downlink information to processor 1080; in addition, the data for designing uplink is transmitted to the base station. In general, RF circuit 1010 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 1010 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to global system for mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), etc.
The memory 1020 can be used for storing software programs and modules, and the processor 1080 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 1020. The memory 1020 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 1020 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 input unit 1030 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 1030 may include a touch panel 1031 and other input devices 1032. The touch panel 1031, also referred to as a touch screen, may collect touch operations by a user (e.g., operations by a user on or near the touch panel 1031 using any suitable object or accessory such as a finger, a stylus, etc.) and drive corresponding connection devices according to a preset program. Alternatively, the touch panel 1031 may include two parts, 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 1080, and can receive and execute commands sent by the processor 1080. In addition, the touch panel 1031 may be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 1030 may include other input devices 1032 in addition to the touch panel 1031. In particular, other input devices 1032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, a joystick, or the like.
The display unit 1040 may be used to display information input by a user or information provided to the user and various menus of the cellular phone. The display unit 1040 may include a display panel 1041, and optionally, the display panel 1041 may be configured in the form of a Liquid Crystal Display (LCD), an organic light-Emitting diode (OLED), or the like. Further, the touch panel 1031 can cover the display panel 1041, and when the touch panel 1031 detects a touch operation on or near the touch panel 1031, the touch operation is transmitted to the processor 1080 to determine the type of the touch event, and then the processor 1080 provides a corresponding visual output on the display panel 1041 according to the type of the touch event. Although in fig. 7, the touch panel 1031 and the display panel 1041 are two independent components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 1031 and the display panel 1041 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 1050, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 1041 according to the brightness of ambient light, and the proximity sensor may turn off the display panel 1041 and/or the backlight when the mobile phone moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here. In the embodiment of the present invention, the terminal device may include an acceleration sensor, a depth sensor, a distance sensor, or the like.
Audio circuitry 1060, speaker 1061, microphone 1062 may provide an audio interface between the user and the handset. The audio circuit 1060 can transmit the electrical signal converted from the received audio data to the speaker 1061, and the electrical signal is converted into a sound signal by the speaker 1061 and output; on the other hand, the microphone 1062 converts the collected sound signal into an electrical signal, which is received by the audio circuit 1060 and converted into audio data, which is then processed by the audio data output processor 1080 and then sent to, for example, another cellular phone via the RF circuit 1010, or output to the memory 1020 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help the user to send and receive e-mail, browse web pages, access streaming media, etc. through the WiFi module 1070, which provides wireless broadband internet access for the user. Although fig. 10 shows the WiFi module 1070, it is understood that it does not belong to the essential constitution of the handset, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 1080 is a control center of the mobile phone, connects various parts of the whole mobile phone by using various interfaces and lines, and executes various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 1020 and calling data stored in the memory 1020, thereby integrally monitoring the mobile phone. Optionally, processor 1080 may include one or more processing units; preferably, the processor 1080 may integrate an application processor, which handles primarily the operating system, user interfaces, applications, etc., and a modem processor, which handles primarily the wireless communications. It is to be appreciated that the modem processor described above may not be integrated into processor 1080.
The handset also includes a power source 1090 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 1080 via a power management system to manage charging, discharging, and power consumption via the power management system. Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
Embodiments of the present invention also provide a computer program product, wherein the computer program product, when run on a computer, causes the computer to perform some or all of the steps of the method as in the above method embodiments.
Embodiments of the present invention further provide an application publishing platform, where the application publishing platform is configured to publish a computer program product, where the computer program product, when running on a computer, causes the computer to perform some or all of the steps of the method in the above method embodiments.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art should also appreciate that the embodiments described in this specification are exemplary and alternative embodiments, and that the acts and modules illustrated are not required in order to practice the invention.
The terminal device provided by the embodiment of the present invention can implement each process shown in the above method embodiments, and is not described herein again to avoid repetition.
In various embodiments of the present invention, it should be understood that the sequence numbers of the above-mentioned processes do not imply an inevitable order of execution, and the execution order of the processes should be determined by their functions and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
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 of the present invention.
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 integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated units, if implemented as software functional units and sold or used as a stand-alone product, may be stored in a computer accessible memory. Based on such understanding, the technical solution of the present invention, which is a part of or contributes to the prior art in essence, or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several requests for causing a computer device (which may be a personal computer, a server, a network device, or the like, and may specifically be a processor in the computer device) to execute part or all of the steps of the above-described method of each embodiment of the present invention.
It will be understood by those skilled in the art that all or part of the steps in the methods of the embodiments described above may be implemented by hardware instructions of a program, and the program may be stored in a computer-readable storage medium, where the storage medium includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM), or other Memory, such as a magnetic disk, or a combination thereof, A tape memory, or any other medium readable by a computer that can be used to carry or store data.

Claims (21)

1. A method of determining configuration information, the method comprising:
receiving the latest version number of the configuration information;
if the latest version number is not consistent with the current version number of the local configuration information, sending a first request message, wherein the first request message is used for requesting the server for first configuration information corresponding to the latest version number, and the first request message comprises the latest version number;
receiving target configuration information, wherein the target configuration information is determined according to the first configuration information.
2. The method of claim 1, wherein before receiving the latest version number of the configuration information, further comprising:
sending the current version number of the local configuration information;
the target configuration information is different configuration information of the first configuration information compared with the local configuration information.
3. The method of claim 1, wherein the current version number is further included in the first request message;
the target configuration information is different configuration information of the first configuration information compared with the local configuration information.
4. The method according to claim 1, wherein the first request message further includes a target protocol identifier, and the target protocol identifier is a protocol identifier of target class configuration information;
the target configuration information is target class configuration information in the first configuration information.
5. A method of determining configuration information, the method comprising:
receiving a first request message, wherein the first request message is used for requesting first configuration information corresponding to a latest version number from a server, and the first request message comprises the latest version number;
and sending target configuration information, wherein the target configuration information is determined according to the first configuration information.
6. The method of claim 5, wherein prior to receiving the first request message, the method further comprises:
and sending the latest version number to a gateway.
7. The method of claim 6, wherein before sending the latest version number to the gateway, further comprising:
and receiving a second request message sent by the gateway, wherein the second request message is used for requesting the latest version number.
8. The method of claim 5,
the target configuration information is the first configuration information;
alternatively, the first and second electrodes may be,
the first request message also comprises the current version number of the local configuration information of the terminal equipment;
the target configuration information is different configuration information of the first configuration information compared with the local configuration information;
alternatively, the first and second electrodes may be,
before the first request message is received, receiving the current version number of the local configuration information of the terminal equipment; the target configuration information is different configuration information of the first configuration information compared with the local configuration information.
9. The method of any one of claims 5 to 8, wherein the first request message further includes a target protocol identifier, and the target protocol identifier is a protocol identifier of target class configuration information;
the target configuration information is target class configuration information in the configuration information corresponding to the latest version number.
10. A method of determining configuration information, the method comprising:
and sending the latest version number of the configuration information to the terminal equipment.
11. The method of claim 10,
receiving the first request message sent by the terminal device, and sending the first request message to the server, where the first request message is used to request the server for first configuration information corresponding to the latest version number, and the first request message includes the latest version number.
12. The method of claim 11, wherein the first request message further includes a current version number of local configuration information of the terminal device.
13. The method according to claim 10 or 11, wherein before sending the latest version number of the configuration information to the terminal device, the method further comprises:
and receiving the current version number of the local configuration information sent by the terminal equipment, and sending the current version number of the local configuration information to the server.
14. A terminal device, characterized in that the terminal device comprises:
the receiving module is used for receiving the latest version number of the configuration information;
a sending module, configured to send a first request message if the latest version number is not consistent with the current version number of the local configuration information, where the first request message is used to request the server for the first configuration information corresponding to the latest version number, and the first request message includes the latest version number.
15. A terminal device, comprising:
processor, memory and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, implements a method of determining configuration information as claimed in any one of claims 1 to 4.
16. A server, comprising:
a receiving module, configured to receive a first request message, where the first request message is used to request a server for first configuration information corresponding to a latest version number, and the first request message includes the latest version number;
a sending module, configured to send target configuration information, where the target configuration information is determined according to the first configuration information.
17. A server, comprising:
processor, memory and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, implements a method of determining configuration information as claimed in any one of claims 5 to 9.
18. A gateway, characterized in that the gateway comprises:
and the sending module is used for sending the latest version number of the configuration information to the terminal equipment.
19. A gateway, comprising:
processor, memory and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, implements a method of determining configuration information as claimed in any one of claims 10 to 13.
20. A system for determining configuration information, comprising:
the terminal device of claim 14, the server of claim 16 and the gateway of claim 18;
alternatively, the first and second electrodes may be,
a terminal device according to claim 15, a server according to claim 17 and a gateway according to claim 21.
21. A computer-readable storage medium, comprising: computer instructions which, when run on a computer, cause the computer to perform a method of determining configuration information as claimed in any one of claims 1 to 4, or to perform a method of determining configuration information as claimed in claims 5 to 9, or to perform a method as claimed in claims 10 to 13.
CN202010865333.6A 2020-08-25 2020-08-25 Method, equipment and system for determining configuration information Pending CN114124924A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010865333.6A CN114124924A (en) 2020-08-25 2020-08-25 Method, equipment and system for determining configuration information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010865333.6A CN114124924A (en) 2020-08-25 2020-08-25 Method, equipment and system for determining configuration information

Publications (1)

Publication Number Publication Date
CN114124924A true CN114124924A (en) 2022-03-01

Family

ID=80373624

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010865333.6A Pending CN114124924A (en) 2020-08-25 2020-08-25 Method, equipment and system for determining configuration information

Country Status (1)

Country Link
CN (1) CN114124924A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115314382A (en) * 2022-07-19 2022-11-08 深圳手回科技集团有限公司 Configuration information processing method
CN115695555A (en) * 2022-09-06 2023-02-03 恒生电子股份有限公司 Interface calling method, system, processing equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012117906A (en) * 2010-11-30 2012-06-21 Navitime Japan Co Ltd Navigation system, navigation method and program
CN102780773A (en) * 2012-07-16 2012-11-14 西安电子科技大学 Method for keeping cache consistency in network using content as center
CN104765591A (en) * 2014-01-02 2015-07-08 腾讯科技(深圳)有限公司 Method and system for updating software configuration parameter, and terminal server
CN104866349A (en) * 2015-05-25 2015-08-26 小米科技有限责任公司 Application updating method and device
US20160062759A1 (en) * 2014-09-03 2016-03-03 Hon Hai Precision Industry Co., Ltd. Server and method for allocating client device to update firmware
CN105610978A (en) * 2016-02-23 2016-05-25 腾讯科技(深圳)有限公司 Resource obtaining method, terminal and vehicle terminal
CN105930185A (en) * 2016-04-19 2016-09-07 乐视控股(北京)有限公司 Application updating method and apparatus, terminal and server
CN107797818A (en) * 2017-03-28 2018-03-13 平安壹钱包电子商务有限公司 Application program updating method and device
CN109361544A (en) * 2018-10-30 2019-02-19 深圳市航天华拓科技有限公司 A kind of positioning terminal firmware method, apparatus and calculate equipment
WO2020061731A1 (en) * 2018-09-25 2020-04-02 深圳市欢太科技有限公司 Resource processing method, electronic device, and computer-readable storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012117906A (en) * 2010-11-30 2012-06-21 Navitime Japan Co Ltd Navigation system, navigation method and program
CN102780773A (en) * 2012-07-16 2012-11-14 西安电子科技大学 Method for keeping cache consistency in network using content as center
CN104765591A (en) * 2014-01-02 2015-07-08 腾讯科技(深圳)有限公司 Method and system for updating software configuration parameter, and terminal server
US20160062759A1 (en) * 2014-09-03 2016-03-03 Hon Hai Precision Industry Co., Ltd. Server and method for allocating client device to update firmware
CN104866349A (en) * 2015-05-25 2015-08-26 小米科技有限责任公司 Application updating method and device
CN105610978A (en) * 2016-02-23 2016-05-25 腾讯科技(深圳)有限公司 Resource obtaining method, terminal and vehicle terminal
CN105930185A (en) * 2016-04-19 2016-09-07 乐视控股(北京)有限公司 Application updating method and apparatus, terminal and server
CN107797818A (en) * 2017-03-28 2018-03-13 平安壹钱包电子商务有限公司 Application program updating method and device
WO2020061731A1 (en) * 2018-09-25 2020-04-02 深圳市欢太科技有限公司 Resource processing method, electronic device, and computer-readable storage medium
CN109361544A (en) * 2018-10-30 2019-02-19 深圳市航天华拓科技有限公司 A kind of positioning terminal firmware method, apparatus and calculate equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115314382A (en) * 2022-07-19 2022-11-08 深圳手回科技集团有限公司 Configuration information processing method
CN115314382B (en) * 2022-07-19 2024-03-19 深圳手回科技集团有限公司 Configuration information processing method
CN115695555A (en) * 2022-09-06 2023-02-03 恒生电子股份有限公司 Interface calling method, system, processing equipment and storage medium
CN115695555B (en) * 2022-09-06 2023-09-12 恒生电子股份有限公司 Interface calling method, system, processing device and storage medium

Similar Documents

Publication Publication Date Title
CN104518953B (en) Method for deleting message, instant communication terminal and system
CN107800585B (en) Network communication method and device, and message pushing method and device
CN109309696B (en) Folder transmission method, sender, receiver, and storage medium
CN108255683B (en) Method for prompting message in terminal and terminal
JP2018520403A (en) Message update method, apparatus, and terminal
CN108668328B (en) Network switching method and mobile terminal
WO2021078215A1 (en) Method for cross-terminal switching of cloud game and related device
CN105227598B (en) Resource sharing method, device and system based on cloud storage
US10298590B2 (en) Application-based service providing method, apparatus, and system
CN109495769B (en) Video communication method, terminal, smart television, server and storage medium
CN107025574B (en) Promotion information display method and device
CN114124924A (en) Method, equipment and system for determining configuration information
CN106095423B (en) Method, terminal and server for providing browsing service
CN111966373B (en) APN resetting method, terminal equipment and storage medium
CN109348425B (en) Positioning information updating method, device, equipment and storage medium
CN112740634B (en) Registration state acquisition method and device based on Wi-Fi voice service and electronic equipment
CN111367502A (en) Numerical value processing method and device
CN111274463A (en) Information display method and device based on IM contact person grouping setting and storage medium
CN106330875B (en) Message display method and device
CN106209601B (en) State update message pushing method and device
CN108234275B (en) Method and device for releasing communication information
CN106610971B (en) ZIP compressed file identification determination method and device
CN106406921B (en) Method and device for installing patch
CN109002535B (en) Data updating method and device
CN113852450A (en) Message push feedback method and device, electronic equipment and storage medium

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